A car travels from City A to City B at a constant speed of 60 miles per hour. Another car starts from City B to City A at the same time, traveling at a constant speed of 40 miles per hour. If the two cities are 300 miles apart, after how many hours will the two cars meet? Let's think step by step and output the final answer within \boxed{}.
user