A few things. Starting with the fact that impulse is a vector, not a scalar.
The impulse corresponds to the change in momentum (mv, so a vector) and is average force * time (or the integral of force over the time interval). So again a vector.
So you need to work out the change in momentum in each dimension, then pythagoras to get the magnitude and trig to get the direction.