Sam and Alex play Tennis. On the weekend Sam played 8 more games than Alex did, and together they played 24 games. How many games did Alex play? How many games did Sam play? Let a represent the number of games Alex played. Write and solve an equation to determine the number of games Alex and Sam played.