Step-by-step explanation:
Given
initial speed(u)=3 m/s
mass of each ball is m
Let the cue ball is moving in x direction initially
In elastic collision Energy and momentum is conserved
Let u be the initial velocity and
be the final velocity of 8 ball and cue ball respectively

The angle after which cue ball is deflected is given by

Conserving momentum in x direction


Along Y axis


substitute the value of

we get

