A factory worker earns $15 per hour for regular hours and 1.5 times that rate for overtime hours. Last week, the worker worked 40 regular hours and 10 overtime hours. How much did the worker earn last week in total? Let's think step by step and output the final answer within \boxed{}.
user