Let v1 and v2 be the final velocity of A and B respectively then, by conservation of momentum along line of impact
2(4cos30∘)−4(2cos30∘)=2(v1)+4(v2) or 0=v1+2v2 ..... (1)
By coefficient of restitution, e=velocityofseparationalongLOIvelocityofapproachalongLOI
or 13=v2−v14cos30∘+2cos30∘ or v2−v1=√3 ..... (2)
from the above two equations, v1=−2√3m/s and v2=1√3m/s.