Linda works at a company where she is paid $20 per hour for the first 40 hours in a week. For any additional hours beyond 40, she is paid 1.5 times her regular hourly rate. Last week, Linda worked 48 hours in total. Calculate her total pay for the week. Let's think step by step and output the final answer within \boxed{}.
user