This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Fifth excited state is $n=6$ and first excited state is $n=2$. The electron can pass through the levels $6,5,4,3,2$ (5 levels), so the number of lines is $\binom52=10$. Answer: 10.