find all possible values of x such that, when the five numbers x, 14, 11, 6, 17 are arranged in order, the mean is equal to the median

(x+14+11+6+17)/5 = 11

x+14+11+6+17 = 55
x = 7

check: 6 7 11 14 17
median is 11
mean = (6+7+11+14+17)/5 = 11