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

The number of games she can play can be calculated below
