A girl rides her bicycle on a route at constant speeds of 6 mph on level ground, 4 mph uphill, and 12 mph downhill. She reaches her destination in an hour. What is the length of the route. How do you solve this?