You can
put this solution on YOUR website!They leave at the same time and collide at the same time, so
If I write

and

, then
t is the same for both, and I can write

and

,

, so

And I know

, so I can say

Now I have

hrs

hrs x

min/hr =

min

min x

sec/min = 32.7272 sec
So, the cars will collide in 54 min 33 sec approximately