Sarah decides to go on a road trip. She drives 120 miles to the beach at an average speed of 60 miles per hour, spends 3 hours at the beach, and then drives back home at the same speed. On her way back, she takes a detour that adds an extra 30 miles to her trip. How long does Sarah's entire trip take? Let's think step by step and output the final answer within \boxed{}.
user