Charges 0.50 per mile with a 5 dollar surcharge. Spending at most 30 dollars, the equation would be:
0.5x+5
30
To find how many miles they can travel/the solution, solve the inequality:

Subtract 5 from both sides.

Divide both sides by 0.5.

They can travel (at most) 50 miles.
Hope this helps :)