A train departs City A heading towards City B at a constant speed of 60 miles per hour. At the same time, another train departs City B heading towards City A at a constant speed of 40 miles per hour. The distance between City A and City B is 200 miles. How long will it take for the two trains to meet? Let's think step by step and output the final answer within \boxed{}.
user