The freezer contains vanilla and chocolate ice cream. Chocolate ice cream contains 12 servings less than vanilla. How many servings of vanilla ice cream are in the freezer if there are a total of 40 servings of ice cream? (Solve by building an equation)