Write an inequality to solve each problem.Then solve the inequality.

1. Marcus wants to buy baseballs.He has $35. What is the most each baseball can cost?

2. Melinda charges $4 per hour for babysitting. Mrs. Garden does not want to spend more than $25 for babysitting. What is the maximum number of hours that she can have Melinda babysit?

#1 depends on how many he wants to buy

count * cost <= 35.0

#2
4h <= 25

To solve these problems, we can start by setting up an inequality equation and solving it.

1. Let's say the cost per baseball is 'x'. Since Marcus has $35, we can set up the inequality:

x ≤ 35

This indicates that the cost per baseball, 'x', must be less than or equal to $35.

To solve the inequality, there is no need to perform additional calculations since it is already solved. The most each baseball can cost is $35.

2. Let's say the number of hours Melinda babysits is 'h'. Since Melinda charges $4 per hour and Mrs. Garden does not want to spend more than $25, we can set up the inequality:

4h ≤ 25

This inequality reflects that Melinda's hourly rate multiplied by the number of hours, 'h,' must be less than or equal to $25.

To solve the inequality, we divide both sides of the equation by 4:

h ≤ 25/4

Simplifying the division gives us:

h ≤ 6.25

Since 'h' represents the number of hours, it cannot be a fraction. Thus, Mrs. Garden can have Melinda babysit for a maximum of 6 hours.