Edward C. answered 04/07/15
Tutor
5.0
(438)
Caltech Grad for math tutoring: Algebra through Calculus
Distance = Rate times Time, or D = R*T
4*T1 + 7*T2 = 26 from the 1st 2 sentences
7*T1 + 4*T2 = 29 from the "If he had ..." sentence
Multiply the 1st equation by (-7) and the 2nd equation by 4 and then add the 2 equations together
-28*T1 - 49*T2 = -182
28*T1 + 16*T2 = 116
-33*T2 = -66
T2 = 2
Plug this value in to the 1st equation to solve for T1
4*T1 + 7*(2) = 26
4*T1 + 14 = 26
4*T1 = 12
T1 = 3
So he walked for 3 hours and ran for 2 hours
Check: (4 km/h)*(3 h) + (7 km/h)*(2 h) = 12 km + 14 km = 26 km
(7 km/h)*(3 h) + (4 km/h)*(2 h) = 21 km + 8 km = 29 km