Final answer:
To find the number of miles you must drive to have the same cost for each car rental, set up an equation and solve for the variable.
Step-by-step explanation:
To find the number of miles you must drive to have the same cost for each of the car rentals, you need to set up an equation. Let m represent the number of miles. For the first car rental, the cost is $20 plus $0.50 per mile, so the equation would be 20 + 0.50m. For the second car rental, the cost is $30 plus $0.25 per mile, so the equation would be 30 + 0.25m. To find the number of miles that would make the costs equal, you can set up the equation 20 + 0.50m = 30 + 0.25m and solve for m.
Learn more about Solving equations with variables on both sides