Emily works a regular 40-hour week and is paid $15 per hour. For any hours worked beyond 40 in a week, she is paid at a rate of 1.5 times her regular hourly rate. Last week, Emily worked a total of 45 hours. How much did she earn in total for the week? Let's think step by step and output the final answer within \boxed{}.
user