A train departs from Station A at 8:15 AM and arrives at Station B at 2:45 PM. Another train departs from Station B at 9:30 AM and arrives at Station A at 4:30 PM. How much longer did the first train take compared to the second train? Let's think step by step and output the final answer within \boxed{}.
user