Question 1190897
<br>
Ignoring the "write a distance equation" instruction in your post, here is a fast and easy way to solve this kind of problem.<br>
The ratio of speeds for the two legs of the trip is 8:20 = 2:5.<br>
Since the distances for the two legs are the same, that means the ratio of times spent at the two speeds is 5:2.<br>
Since the total time was 7 hours and the ratio of times on the two legs is 5:2, he spent 5 hours jogging and 2 hours riding.<br>
So the distance on each leg is 5*8=40 miles, or 2*20=40 miles.<br>