Answer: she played 5 games and went on 8 rides
Step-by-step explanation:
Let x represent the number of games that Sydney played.
Let y represent the number of rides that Sydney went on.
Each game cost $1.25 and each ride cost $2.25. If Sydney spent $24.25 altogether at the carnival, then the expression is
1.25x + 2.25y = 24.25- - - - - - - - - - -1
If the number of rides that she went on is 3 more than the number of games that she played, the expression would be
y = x + 3
Substituting y = x + 3 into equation 1, it becomes
1.25x + 2.25(x + 3) = 24.25
1.25x + 2.25x + 6.75 = 24.25
3.5x = 24.25 - 6.75
3.5x = 17.5
x = 17.5/3.5
x = 5
y = x + 3 = 5 + 3
y = 8