During the playoffs you score 2 goals per game. By the end of the second playoff game you had 22 goals for the year. Find an equation that gives you the total number of goals scored for the year in terms of the number of playoff games. How many goals did you score before the playoffs?

suppose there are n playoff games. You score 2n goals during playoffs.

So, since you had 22 goals after 2 playoff games, you scored 18 goals during the season. yearly points are then

p = 18 + 2n