Given data:
* The mass of the first object is M_1 = 50 kg.
* The initial velocity of the first object is v_1i = 2 m/s.
* The mass of the second object is M_2 = 50 kg.
* The initial velocity of the second object is v_2i = 0 m/s.
Solution:
The initial momentum of the system is,

The final momentum of the system is,

where v is the velocity of both the objects as both the objects are stick together after the collision(pure inelastic collision) and moves with the same velocity,
Substituting the known values,

According to the law of conservation of momentum,

Thus, the final velocity of each object is 1 meter per second.