A delivery driver completes a 300-mile route. For the first hours, the driver averages 50 miles per hour. For the remaining hours, the driver averages 40 miles per hour. If hours, how much shorter, in hours, would the total trip time have been if the driver had maintained an average speed of 45 miles per hour for the entire 300-mile route?