Conserve momentum and energy, remembering that:

E=pc for the photon

The electron begins the problem with its rest energy, right?