3*40 + x / 4 = 45.
The answer of x comes out to be 60. Which means that the speed was travel around 60 miles per hour in the last one hour of the total journey.
Well to understand how i constructed its equation is very simple. I equated the total average speeds answer to 45 and just calculated the average speeds with the help of algebra where x is the number of miles..