Krystal traveled to the town hall and back. It took one hour less time to get there than it did to get back. The average speed on the trip there was 54 km/h. The average speed on the way back was 45 km/h. How many hours did the trip there take?