Andy's average driving speed for a 4-hour trip was 45 miles per hour. during the first 3 hours he drove 40 miles per hour. what was his average speed for the last hour of his trip?