Compton-like scattering of a scalar particle with N photons and one graviton