tom traveled the entire 80 miles trip . if he did the first 30 miles of at a constant rate 30 miles per hour and the remaining trip of at a constant rate 50 miles per hour , what is the his average speed , in miles per hour ?