Two carts with masses of 12.5 kg and 4.5 kg, respectively, move in opposite directions on a frictionless horizontal track with speeds of 8.0 m/s and 5.0 m/s, respectively. The carts stick together after colliding head-on. Find the final speed of the two carts.