This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] $k^2=\frac IM$. For a solid sphere $k_{sph}^2=\frac25R^2$; for a solid cylinder $k_{cyl}^2=\frac12R^2$. $\frac{k_{sph}}{k_{cyl}}=\sqrt{\frac{2/5}{1/2}}=\sqrt{\frac45}=\frac2{\sqrt5}$. So $x=5$. Answer: 5.