A car for $40 a day plus 21c per mile. You are on a daily budget of $82. What milagae will allow you to stay within your budget?

Assuming you don't pay taxes on top of the charges, then what you can spare for the per mile charges is $82-40=$42.

How many miles can you do with $42 at 21c per mile?