Question 1129074
<br>
Let the distances (km) for the two parts of the trip be x and 400-x.  Then<br>
The total number of hours for the trip, at 100km/hr for the first part and 80km/hr for the second, was<br>
{{{x/100+(400-x)/80}}}<br>
If the two speeds had been switched, the total number of hours would have been<br>
{{{x/80+(400-x)/100}}}<br>
The second trip would have taken 0.5 hours longer:<br>
{{{x/80+(400-x)/100 = x/100+(400-x)/80+0.5}}}<br>
Multiply through by the LCM, 400:<br>
{{{5x+4(400-x) = 4x+5(400-x)+200}}}<br>
Solve....<br>
{{{5x+1600-4x = 4x+2000-5x+200}}}
{{{2x = 600}}}
{{{x = 300}}}<br>
He traveled at 100km/hr for 300 km (3 hours) and at 80 km/hr for 100 km (1.25 hours); total time 4.25 hours.<br>
If the speeds had been switched, he would have traveled at 80km/hr for 300 km (3.75 hours) and 100km at 100km/hr (1 hour); total time 4.75 hours.