A boat travels at 12 mph in still water. It can travel 18 miles upstream in the same time that it can travel 24 miles downstream. What is the current?