Hagrid rowed his boat upstream a distance of 9 miles and then rowed back to the starting point. The total time of the trip was 10 hours. If the rate of the current was 4 mph, find the rate of the boat in still water. Enter a number only as your answer.