Answer:
Ball A will move towards West with speed 8 m/s
Ball B will move towards East with speed 12 m/s
Step-by-step explanation:
As we know that during collision there is no external force on the system
So here we can use momentum conservation for finding the final velocities of two balls
so we have
![m_1v_(1i) + m_2v_(2i) = m_1v_(1f) + m_2v_(2f)](https://img.qammunity.org/2020/formulas/physics/middle-school/2zepqgg1yom87wia3810tpdoykerllulpd.png)
since two balls are identical so we have
![m_1 = m_2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/thbnn1z0z37x85xnceribx5hq3clxc7x2n.png)
![m(12) - m(8) = mv_1 + mv_2](https://img.qammunity.org/2020/formulas/physics/high-school/v4d8fb6n75396du8qxhbovzcxrjl76ery3.png)
![v_1 + v_2 = 4](https://img.qammunity.org/2020/formulas/physics/high-school/nmyrqd5el5ezm0x1vx7s2wrvcqtlcctc88.png)
also we know that for elastic collision we have
![v_(2f) - v_(1f) = v_(1i) - v_(2i)](https://img.qammunity.org/2020/formulas/physics/college/gdxeqiu1ydpovtqe8zzp7fvbcd6t7th3av.png)
so we have
![v_2 - v_1 = 12 - (-8)](https://img.qammunity.org/2020/formulas/physics/high-school/lg81a2tcq857qb3pg21jpwycplhta20zoh.png)
![v_2 - v_1 = 20](https://img.qammunity.org/2020/formulas/physics/high-school/cc9h1qy9pydydvi1a8ow16ho8d04ktrqsr.png)
so we have
Towards East
Towards West