How would I solve this;

John is paid at an hourly rate of $15 and over time rate of 1.5 times his hourly rate. If john puts in w regular hours and y overtime hours in a week, what is his total wage for the week? (Monday-Friday

15*w + 1.5(15)* y

15w + 22.5y

Vanessa works 32 hours per week at her job her boss offered her a full-time position 40 hours per week any two dollar per hour raise she says this is great now all me $200 more per week. What is Vanessa's hourly wage before the raise

15*w+1.5(15)*y

15w+22.5y

Week=7 days.

7(15w+22.5y)

105y+157.5y hours

To solve this problem, we need to calculate John's total wage for the week based on his regular hours worked and overtime hours worked.

First, let's determine John's regular wage for the week. John is paid at an hourly rate of $15, so we multiply this rate by the number of regular hours he worked, denoted as "w". Hence, John's regular wage is 15w dollars.

Next, let's calculate John's overtime wage for the week. John's overtime rate is 1.5 times his hourly rate, so his overtime wage per hour is 15 * 1.5 = $22.5. We can then multiply this overtime wage by the number of overtime hours he worked, denoted as "y". Therefore, John's overtime wage is 22.5y dollars.

To find John's total wage for the week, we need to sum his regular wage and overtime wage. Therefore, the total wage, denoted as "T", is given by the equation:
T = 15w + 22.5y

Thus, John's total wage for the week is 15w + 22.5y dollars.