Let x be the number of hours spent babysitting and y be the number of hours spent tutoring.
We have the following constraints:
We want to maximize the earnings: 10x + 15y.
To maximize earnings, Lily should maximize the hours spent on the higher-paying job, which is tutoring at $15 per hour. Therefore, she should minimize babysitting hours to 4 (the minimum allowed) and maximize tutoring hours.
Substitute x = 4 into the constraint x + y ≤ 25:
4 + y ≤ 25
y ≤ 21
Thus, Lily should work 4 hours babysitting and 21 hours tutoring to maximize her earnings.
Snap a photo of your homework and get a step-by-step answer in seconds. You can ask follow-up questions until it makes sense.
Solve my question free Math help Find a math tutor© 2026 SnapAndSolve