The transition occurs like Balmer series as spectral line is observed in visible region.
Thus, the line of lowest energy will be observed when transition occurs from 3rd orbit to 2nd orbit, i.e., n1=2 and n2=3
1λ=R[122−132]=536RE=hv=h.cλ=6.6×10−34×3×108×536×1.1×107=3.025×10−19 J per atom
Energy corresponding to 1.0 g atom of hydrogen
=3.025×10−19× Avogadro's number
=3.025×10−19×6×1023J
=18.15×104 J
Hence, x=18.15