The different energy levels of an atoms are given by the equation. En=−13.6Z2/n2eVZ is the atomic number for hydrogen =1n=1,2,3 and so on such that the ground state has n=1 and the secondary energy level (first excited state)
has n=2
So, for first excited state, n=2 E=−13.6/22=−13.6/4=−3.4eV