If x=3, what is the value of 3x²?
A. 3
B. 9
C. 18
D. 27