We begin by considering the Paschen series, which involves transitions to n=3.
First, for the 1st line (4→3), we write λ11=R(91−161)=R×1447, and hence λ1=720 nm.
Next, for the 2nd line (5→3), we have λ21=R(91−251)=R×22516.
Then, substituting these into the ratio, we find λ1λ2=16/2257/144=144×167×225=23041575,
and therefore λ2=720×23041575=492 nm.