Jeremy played two basketball games. He scored 6 fewer points in the second game than he scored in the first. He scored 24 points in the second game. Which equation can be used to find how many points he scored in the first game?