The Rydberg's formula for the wavelength of the spectral lines is given by,
1λ=Z2R(1nf2−1ni2)
For H- atom, Z=1
The first line of Balmer series corresponds to the transition from ni=3→nf=2
1λH=R(1)2(14−19)
1λH=R(536) ..........(1)
For single ionized He- atom, Z=2
The second line of Balmer series corresponds to the transition from ni=4→nf=2
1λHe=R(2)2(14−116)
1λHe=R(4)(316) ........(2)
Dividing eq. (1) by (2),
λHeλH=14[163×536]=527
∴λHe=527×6561 ˙A=1215 ˙A