Step-by-step explanation:
Given that,
Mass of the cart,
![m_1=1\ kg](https://img.qammunity.org/2021/formulas/physics/college/f0ysv5mgygcw8vgql7wiq1lgnsn2mj1o9i.png)
Mass of the cart 2,
Final speed of cart 2,
![v_2=0.3\ m/s](https://img.qammunity.org/2021/formulas/physics/college/1y2qdqkj3xdynyyg9x56lefufz7jmaxhxj.png)
Final speed of cart 1 is 0 as it comes to rest.
Let us assume that the initial velocity of the cart 2 is 0. So using the conservation of linear momentum as :
![m_1u_1+m_2u_2=m_1v_1+m_2v_2\\\\m_1u_1+0=0+m_2v_2\\\\m_1u_1=m_2v_2\\\\u_1=(m_2v_2)/(m_1)\\\\u_1=(3* 0.3)/(1)\\\\u_1=0.9\ m/s](https://img.qammunity.org/2021/formulas/physics/college/895feiz5gpsa4sg7yvz476b24lo2nvouhz.png)
So, the initial velocity of the 1.0-kg cart is 0.9 m/s.