You have a summer job that pays time and a half for overtime. That means if you work more than 40
hours in a week, your hourly wage for the extra hours is 1.5 times your rate of $12 per hour.
Write a piecewise function describing your weekly pay, P, in terms of the number of hours worked, h.
How much will you get payed if you work 47 hours?