Two carts with masses of 4.00 kg and 3.24 kg move toward each other on a frictionless track with speeds of 4.90 m/s and 3.35 m/s respectively. The carts stick together after colliding head-on. Find the final speed.

The law of conservation of linear momentum

m₁v₁- m₂v₂=(m₁+m₂)u
u={m₁v₁- m₂v₂}/(m₁+m₂)