A train travels from City A to City B at a constant speed of 60 miles per hour. After reaching City B, it immediately returns to City A at a constant speed of 40 miles per hour. If the entire round trip takes 5 hours, how far is City B from City A? Let's think step by step and output the final answer within \boxed{}.
user