CAYLEY 2019 Problem 7

The three numbers 2, x, and 10 have an average of x. What is the value of x ?

Answer Choices
A. 5
B. 4
C. 7
D. 8
E. 6