Answer:
28 miles in 1.4 hours in the city
Step-by-step explanation:
On the highway:
Time [tex]=t[/tex] hours
Rate = 45 mph
Distance [tex]=45\cdot t[/tex] miles
In the city:
Time [tex]=3-t[/tex] hours
Rate = 20 mph
Distance [tex]=20\cdot (3-t)[/tex] miles
The trip was 100 miles long, then
[tex]45t+20(3-t)=100\\ \\45t+60-20t=100\\ \\45t-20t=100-60\\ \\25t=40\\ \\t=1.6\ hours\\ \\3-t=3-1.6=1.4\ hours[/tex]
Distance on the highway [tex]=45\cdot 1.6=72[/tex] miles
Distance in the city [tex]=20\cdot 1.4=28[/tex] miles