Samuel is going to a carnival that has games and rides. Each game costs $2 and each ride costs $5. Samuel spent $60 altogether on 18 games and rides. Determine the number of games Samuel played and the number of rides Samuel went on.
Samuel played__games and went on__rides rides.
Pleases show how you worked it out!