For the Balmer series, the wavelength is given by
λ1=R(221−n21)
For Hα, the transition is from n=3 to n=2:
λα1=R(41−91)=R(369−4)=365R
For Hβ, the transition is from n=4 to n=2:
λβ1=R(41−161)=R(164−1)=163R
Now taking the ratio of wavelengths,
λβλα=1/λα1/λβ=5R/363R/16=163×536=80108=2027
We are given that the ratio is 20x, so
20x=2027
Hence, the answer is x=27. So, the answer is 27.