This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] 0.9 g of water is $0.05$ mol, containing $0.1$ mol (0.1 g) of H, all from $0.01$ mol of $X$. So 1 mol of $X$ contains $10$ g of H, which is 10% of its mass: $M=\frac{10}{0.10}=100\ \mathrm{g\,mol^{-1}}$. Answer: 100.