In the equation 8x + 2 = 18, what is the variable and what is the coefficient?
a) The variable is 18 and the coefficient is x.
b) The variable is 8 and the coefficient is 2.
c) The variable is x and the coefficient is 8.
d) The variable is 8 and the coefficient is x.