John decides to take his friends to the movies. Let y represent the total amount he spends on the tickets and snacks. Let x represent the number of tickets he buys. Suppose that x and y are related by the equation 12 x plus 18 equals y .

How much does John spend on snacks?