Two trains are traveling towards each other from two cities that are 120 miles apart. Train A is moving at a speed of 40 miles per hour, while Train B is moving at a speed of 50 miles per hour. If they start at the same time, in how many hours will the two trains meet? Let's think step by step and output the final answer within \boxed{}.
user