Two carts collide in a perfectly elastic collision. Cart A has a mass of 0.5 kg and an initial velocity of 0.19 m/s. It hits cart B, which has a mass of 1.2 kg and an initial velocity of 0.16 m/s in the direction opposite to the direction of cart A. What is the final speed of each cart?