Sadie is going to a carnival that has games and rides. Each game costs $1 and each ride costs $3.50. Sadie spent $28.50 altogether at the carnival and the number of rides she went on is 3 more than the number of games she played. Determine the number of games Sadie played and the number of rides Sadie went on.