She has only $30 with her.
It will cost her $5 to enter the festival and the game she wants to play cost $1.40 .
let
g = number of games
Therefore, the inequality for the number of games she can play can be represented below
[tex]\begin{gathered} 5+1.40g\leq30 \\ \text{where} \\ g=\text{ number of games she can play} \end{gathered}[/tex]The number of games she can play can be calculated below
[tex]\begin{gathered} 5+1.40g\leq30 \\ 1.40g\leq30-5 \\ 1.40g\leq25 \\ \text{divide both sides by }1.40 \\ g\leq\frac{25}{1.40} \\ g\leq17.8571428571 \\ g\leq17.86 \\ \text{she can only play approximately 17 games} \end{gathered}[/tex]