If a train travels at a constant speed of 60 kilometers per hour, and it takes the train 45 minutes longer to travel 240 kilometers than it takes to travel 180 kilometers, how long does the train take to travel 180 kilometers? Let's think step by step and output the final answer within \boxed{}.
user