You can
put this solution on YOUR website!They both will have gone the same distance
when they meet.
Let

= the distance they both travel
Let

= the time elapsed during the 1st car's trip
For 1st car:

For the 2nd car

Since both

's are equal,

hrs
The 2nd car's elapsed time is

hrs
The 2nd car overtakes the 1st car in 4 hours
Check the answer:
For the 1st car

km
For the 2nd car

km
OK