The numbers 4 and 9 have frequencies x and (x−1) respectively If their arithmetic mean is 6 then x is equal to