Leah scored a total of 18 points in the basketball game, and she scored p points in the second half of the game. Write an expression to determine the number of points she scored in the first half of the game. Then, find the number of points she scored in the first half of the game if she scored 2 points in the second half of the game.