To answer this, we have to use the conservation of momentum law, which indicates that the sum of initial momentums is equal to the sum of final momentums after a collision.
Using the definition of momentum p = mv, we have
Replacing the given information, we have
Then, we solve for the final velocity of the heavier car
Hence, the final speed of the 3.0 kg cart is 2.3 m/s, approximately.