Given data
*The given mass of the first ball is m = 3.93 kg
*The mass of the second ball is M = 3.93 kg
*The initial velocity of the first ball is u_1 = 4 m/s
*The initial velocity of the second ball is u_2 = 0 m/s
*The final velocity of the first ball is v_1 = -2.0 m/s
The formula for the velocity of the second ball is given by the conservation of momentum as
[tex]\begin{gathered} p_i=p_f \\ mu_1+Mu_2=mv_1+Mv_2 \end{gathered}[/tex]Substitute the known values in the above expression as
[tex]\begin{gathered} 3.93\times4+3.93\times0=3.93\times-2.0+3.93\times v_2 \\ 15.72=-7.86+3.93v_2 \\ v_2=6\text{ m/s} \end{gathered}[/tex]Hence, the final velocity of the second ball is v_2 = 6 m/s