A motorboat moves 12 miles per hour in still water. It travels 9 miles upstream and 9 miles downstream in a total time of 2.0 hours. What is the speed of the current?