Hello!
Recall the equation for momentum:
![\huge\boxed{ p = mv}](https://img.qammunity.org/2023/formulas/physics/high-school/blzsy9boho61l91gd1r798sqxi7m1hmxv7.png)
p = linear momentum (kgm/s)
m = mass (kg)
v = velocity (m/s)
Part 1:
We can solve for the total momentum using the above equation. Let m1 represent the 0.2 kg cart, and m2 represent the 0.4 kg cart.
![p = m_1v_1' + m_2v_2'](https://img.qammunity.org/2023/formulas/physics/high-school/7lrhq7x7mtyarcyd5b67pf034r5q2zybiu.png)
Since they move off together:
![p = v_f(m_1 + m_2) = 0.2(0.2 + 0.4) = \boxed{0.12 kg(m)/(s)}](https://img.qammunity.org/2023/formulas/physics/high-school/bx2804x98xv7zeimvtza6x69c3h7cuiojr.png)
Part 2:
Using the conservation of momentum:
![m_1v_1 + m_2v_2 = m_1v_1' + m_2v_2'\\\\](https://img.qammunity.org/2023/formulas/physics/high-school/gzm4dtiqqqwtuenj453apm127risw8l43g.png)
m2 was initially at rest, so:
![m_1v_1 + m_2(0) = 0.12\\\\0.2(v_1) = 0.12\\\\v_1 = (0.12)/(0.2) = \boxed{0.6 (m)/(s)}](https://img.qammunity.org/2023/formulas/physics/high-school/9ftpwsy5mjz78o5ll1n5dpp9igbq82kgm5.png)
Part 3:
We can calculate the force by first calculating the impulse exerted on the carts.
Recall the equation for impulse:
![\large\boxed{I = m\Delta v = m(v_f - v_i}}](https://img.qammunity.org/2023/formulas/physics/high-school/lmalhsunxgmk27hqbfjjth40ilclklauot.png)
We can use either cart, but for ease, we can use the 0.4 cart that starts from rest.
Thus:
![I = 0.4(0.2 - 0) = 0.08 kg(m)/(s)](https://img.qammunity.org/2023/formulas/physics/high-school/i5ikvikvehi6mqnwjimpkx66hsedx1d80r.png)
Now, calculate force with the following:
![\large\boxed{I = Ft, F = (I)/(t)}](https://img.qammunity.org/2023/formulas/physics/high-school/fjllw5dlzo11zf9yffyayydj43frm76d26.png)
Plug in the values:
![F = (0.08)/(0.02) = \boxed{4 N}](https://img.qammunity.org/2023/formulas/physics/high-school/knwzt4opvbajgrtivfoiaqjrqvvsnb963l.png)