

Let the angle of incidence of ball 1 onto the wall be = A
Let the angle of incidence of the ball 2 be = B
Let the speed of the balls just before striking the wall = v
The velocity vectors (incident and reflected) are resolved along the normal to the wall and along the wall.
For the change in velocity of ball 1 = vf - vi
= (v cos A j + v sin A i) - (v sin A i - v cos A j)
= 2 v cos A j
Impulse = change in the momentum of ball 1 = 2 m v cos A j
So the direction of force = direction of momentum = normal to the wall, coming out of the wall.
ratio of impulses = (2 m v cos A) / (2 m v Cos B) = cosA / cos B
= ratio of cosines of angles of incidence.
