I hope you recognize that this is a problem on conservation of momentum in two dimensions.

Let's first begin by labelling all the known angles and velocities.