K.E. of H2 molecules $=\frac{3}{2}\text{KT}$
Energy released, when atom goes from ground state to no = 3
$\Rightarrow13.6\Big(\frac{1}{1}-\frac{1}{9}\Big)$
$\Rightarrow\frac{3}{2}\text{KT}=13.6\Big(\frac{1}{1}-\frac{1}{9}\Big)$
$\Rightarrow\frac{3}{2\ \times\ 8.62\ \times\ 10^{-5}\text{T}}=\frac{13.6\times8}{9}$
$\Rightarrow\text{T}=0.9349\times10^5=9.349\times10^4=9.4\times10^4\text{K}$