Riley is going to a carnival that has games and rides. Each game costs $1.25 and each ride costs $3.75. Riley spent $45 altogether on 16 games and rides. Graphically solve a system of equations in order to determine the number of games Riley played, x, and the number of rides Riley went on, y.