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