Explanation:
This is nothing but momentum conservation. Velocity is the most influencing factor in momentum conservation. Inelastic collision also means that after collision the objects won't bounce off, rather it will stick with it. Therefore, owing to the transfer of kinetic energy, the velocity of the more massive object will be the same as the velocity of the less massive object.