Guide:
1) Draw rectangle $2\le x\le 4,$ $3\le y\le 5$.
2) The area of the rectangle is $4$, so pdf is $1/4$.
3) Draw line $y=x$.
4) Find area of the rectangle above the line, which is $7/2$.
5) Finally, the required probability is $7/2\cdot 1/4=7/8$.
Here is the graph:
$\hspace{2cm}$ ,B(3.5,4.5),C(2.5,3.5),D(3.4,3.7).$$ Bus $A$ arriving after bus $B$: $$E(3.7,3.3).$$