Isabella is going to a carnival that has games and rides. Each game costs $2 and each ride costs $4. Isabella spent $40 altogether on 15 games and rides. Graphically solve a system of equations in order to determine the number of games Isabella played, x, and the number of rides Isabella went on, y.