A river flows at the rate of 2 mph. If a motorboat can travel 12 miles upstream and return in a total of 2.5 hours, what is the speed of the motorboat in still water?