Andrew is paid $4 per hour for the first 30 hours he works each week. He makes $5 per hour for each hour he works over 30 hours per week. In other words, total wages = fixed wages for 30 hours + additional wages at $5 per hour. Apply function notation to answer the following questions about Andrew’s wages.

Write a function that gives Andrew’s total wages when he works more than 30 hours. Use the variables w for wages and h for hours.

The amount of money that Andrew earns varies depending on the number of hours above 30 hours that he works. Write the function for the four inputs listed in the table.