This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Six different wavelengths $=\binom n2=6\Rightarrow n=4$, so the atom is excited to the $n=4$ level. $E=13.6\left(1-\frac1{16}\right)=12.75$ eV. $\nu=\frac Eh=\frac{12.75}{4.25\times10^{-15}}=3\times10^{15}$ Hz, so $x=3$. Answer: 3.