Answer: [tex]v_{f_A}[/tex] = 5 m/s
Explanation: For collisions, use linear momentum, whose formula is: P = m.v and knowing the law of conservation states that momentum of a closed system is constant in time, i.e. initial momentum equals final momentum:
[tex]p_{f} = p_{i}[/tex]
[tex]m_{A}v_{f_A} + m_{B}v_{f_B} = m_{A}v_{i_A} + m_{B}v_{i_B}[/tex]
Suppose the referential for velocity is positive to the right:
[tex]1.v_{f_A} + 2.(-3.5) = 1.(+2) + 2.(-7)[/tex]
[tex]1.v_{f_A} = 7 + 2 - 14[/tex]
[tex]v_{f_A} = - 5[/tex]
The negative sign, in this case, indicates cart A is going to the left.
The magnitude of velocity of cart A is 5 m/s