Two trains are traveling towards each other from two cities that are 300 miles apart. Train A travels at a speed of 40 miles per hour, and Train B travels at a speed of 50 miles per hour. They start at the same time. How long will it take for the two trains to meet, and how far from City A will they meet? Let's think step by step and output the final answer within \boxed{}.
user