The numbers 4, 6 and 8 are the frequencies (x + 2), X and(x-1) and if their arithmetic mean is 8, the value of X is