Sam is traveling from City A to City B. He covers the first 150 kilometers at a speed of 75 kilometers per hour and the remaining distance of 100 kilometers at a speed of 50 kilometers per hour. How long does it take for Sam to complete the trip from City A to City B? Provide your answer in hours and minutes. Let's think step by step and output the final answer within \boxed{}.
user