An x-ray photon of energy 1240 eV is scattered by a stationary electron. The scattered photon makes an angle of 35 degree with the initial direction of motion of photon. Determine the wavelength of the scattered photon. Obtain how much energy is gained by the electron?