A cyclist travels from town A to town B at an average speed of 18 miles per hour. On the return trip, due to exhaustion, the cyclist travels at an average speed of 12 miles per hour. The total round trip takes 5 hours. How far is town B from town A? Let's think step by step and output the final answer within \boxed{}.
user