Now you are ready to write down an equation for conservation of momentum in each of the two directions.
Remember, in each equation the momentum before the collision must equal the momentum after the collision (in that direction).
Write out the eqautions now.