Your initial inequality is [tex]5x \leq 30[/tex]
If you want to have at least $10 left, you have to subtract $10 from your total $30. This gives you the inequality, [tex]5x \leq 20[/tex]. Solve this like it's an equation to get that [tex]x \leq 4[/tex]
:)