When an electron jumps directly from an orbit of n = 4 to n =…