In a metal deficient oxide sample, \( \mathrm{M}_{x}\mathrm{Y}_{2}\mathrm{O}_{4} \) (M and Y are metals), M is present in both \( +2 \) and \( +3 \) oxidation states and Y is in \( +3 \) oxidation state. If the fraction of \( \mathrm{M}^{2+} \) ions present in M is \( \frac{1}{3} \), the value of \( x \) is ____.