After the collision, the electron's kinetic energy is..

Yellow: zero            

Green: less the Eg , but greater than zero.            

Pink: equal to Eg                  

Blue: greater than Eg

Answer: less the Eg , but greater than zero. The electron picked up some, but not all, of the photon's initial energy.