Mary earns $16 an hour plus $20 an hour for every hour of overtime. Overtime hours are any hours more than 30 hours for the week.

Part A: Create an equation that shows the amount of money earned, M, for working x hours in a week when there is no overtime. (3 points)

Part B: Create an equation that shows the amount of wages earned, T, for working y hours of overtime. Hint: Remember to include in the equation the amount earned from working 30 hours. (3 points)

Part C: Mary earned $580 in 1 week. How many hours (regular plus overtime) did she work? Show your work. (4 points)