Question in details the longest wavelength would be E4 - E5 and the shortest E6-E5?

suppose a photon emitted by a H atom with a configuration of 5d1 causes an electron to be dislodged from the surface of potassium K metal what are the minimum and maximum values possible for the de broglie wavelength of an ejected electron
the work function of K is 3.67x10^-19 J