The numbers 3, 5, 6 and 4 have frequencies of x, x + 2, x - 8 and x + 6 respectively If their mean is 4 then the value of x is