.
1 - Physics style solution
Their relative speed is 60 km/h + 40 km/h = 100 km/h.
It means that the distance between them decreases at the rate of 100 km/h.
Hence, they meet each other in Time = = = 3.5 hours.
At this time Andy will be 40*3.5 = 140 miles from Toontown.
2 - Algebra style solution
Let "t" be the time they meet each other.
To that moment Andy will cover the distance of 60*t miles, while Michael will cover 40*t miles.
In all these distance cover the whole/entire distance of 350 miles, which gives you an equation
60t + 40t = 350, or
(60+40)*t = 350 ====> 100t = 350 ====> t = = 3.5 hour.
Thus we obtained again this time interval of 3.5 hours till the meeting moment,
and Andy will cover his 3.5*40 = 140 miles from Toontown.
For such and similar problems see the lessons
- Travel and Distance problems
- Travel and Distance problems for two bodies moving in opposite directions
- Travel and Distance problems for two bodies moving in the same direction (catching up)
in this site.