Aria is going to a carnival that has games and rides. Each game costs $3.50 and each ride costs $5. Aria spent $42 altogether at the carnival and the number of rides she went on is 5 more than the number of games she played.