Answer:
Velocity of ball B after impact is
and ball A is

Step-by-step explanation:
= Initial velocity of ball A

= Initial velocity of ball B = 0
= Final velocity of ball A
= Final velocity of ball B
= Coefficient of restitution = 0.8
From the conservation of momentum along the normal we have

Coefficient of restitution is given by



Adding the above two equations we get



From the conservation of momentum along the plane of contact we have


Velocity of ball B after impact is
and ball A is
.