Distance
You have traveled at 60 mph for 3 hours, the other section was traveled at 40 mph (40 miles in one hour).
Then we will only take into account the first tranche.
When you travel at 60 mph:
in one hour you travel 60 miles
Then, in three hours you travel
3 x 60 = 180 miles
Answer: 180 miles