Hello, princess!
A 40 kph car drove off. A 60 kph car left 3 hours later.
How long will it take for the 60kph car to catch the 40kph car?
I have no idea where you got your equation . . .
I don't suppose you drew a picture.
Car A drove for 3 hours at 40 kph; it traveled 120 km.
Then it drove for another \(\displaystyle x\) hours and traveled \(\displaystyle 40x\) km.
Code:
120 km 40x km
. . . * - - - - - - - - * - - - - - - - - *
Car B drive the same \(\displaystyle x\) hours and travels \(\displaystyle 60x\) km.
Code:
60x km
. . . * - - - - - - - - - - - - - - - - - *
Since car B catches up to car A, the distances are equal:
\(\displaystyle \;\;\;120\,+\,40x\;=\;60x\)
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Here's a back-door approach to this problem.
Car B is going 20 kph faster than car A.
It is as if car A is stopped and car B is driving toward it at 20 kph.
Imagine this scenario: car A drives for 3 hours and stops (120 km away).
Car B drives toward it at 20 kph. . . How long will take to catch up?