PASCAL 2004 Problem 2

The average of 2,x and 12 is 8. What is the value of x?

Answer Choices
A. 8
B. -2
C. 12
D. 24
E. 10