Hi ill try to explain it.
Convert the workfunction ( 5ev) into energy and then solve
E=hv for v ( frequency) youll get the threshold frequency ( we call it x) that is the frequency required. then
put the value in the following equation
K.E.=h(v-x) v is the frequency of the light and then solve...