COMC 2017 A Problem 1

The average of the numbers 2,5, x, 14,15 is x. Determine the value of x.