The formula to calculate the radius (r) of any nth Bohr's orbit is given by
r=r0Zn2...(1)
where, r0 is Bohr's radius, n is the principal quantum number and Z is the atomic number.
Thus, for Helium ion,
r1==r02222r0...(2)
And, for the Beryllium ion,
r2==r04424r0...(3)
Divide equation (3) by equation (2) to obtain the required ratio.
r1r2==2r04r02
Hence, x=2.