A man travels for 6 hours at a rate of 50 miles per hour. His return trip takes him 7 1/2 hours. What is his average speed for the whole trip?