Data:
McDonalds: m
Washing cars: w
$12 per hour in m
$8 ér hour in w
m and w are the corresponding number of hours in each work
he can work at most 20 hours in total:
![m+w\le20](https://img.qammunity.org/2023/formulas/mathematics/college/vbynk6ms81pkadp2urwos9nj1kvord8riz.png)
must earn a minimum of $200:
![12m+8w\ge200](https://img.qammunity.org/2023/formulas/mathematics/college/2vyh6lrz18jt851soa3vf2wu5nl5mi5vmr.png)
If he works 15 hours at macdonalds (m=15) find the number of hours w:
You have the next system of inequalities:
![\begin{gathered} m+w\le20 \\ 12m+8w\ge200 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/aqerzssk7f9xdxbhai7w18w44nhc8dccb1.png)
Substitute the m in both equations for 15 and find the minimum number of whole hours washing cars (w):
![\begin{gathered} 15+w\le20 \\ 15-15+w\le20-15 \\ w\le5 \\ \\ 12(15)+8w\ge200 \\ 180+8w\ge200 \\ 180-180+8w\ge200-180 \\ 8w\ge20 \\ w\ge(20)/(8) \\ w\ge2.5 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/veiba0wb260f1di200s4jg3jlmj408zhb5.png)
As you can see if he works 15 hours in mcdonalds, he needs to work a minimum of 3 whole hours (2.5 ≤ w ≤ 5) washing cars to meet his requirements (work at most 20 hours and earn minimum $200)
Answer: he needs to work a minimum of 3 whole hours washing cars