When a photosensitive surface is irradiated by light of wavelengths '$\lambda_1$' and '$\lambda_2$', kinetic energies of emitted photoelectrons are '$E_1$' and '$E_2$' respectively. The work function of the photosensitive surface is
Show Hint
Multiply energy by its matching wavelength to isolate the constant $hc$: $\lambda E = hc - \lambda W$. Equating the two states and factoring out $W$ yields the correct algebraic ratio in just two quick lines of scratchpad layout!