A 29.0-g object moving to the right at 17.0 cm/s overtakes and collides elastically with a 8.0-g object moving in the same direction at 15.0 cm/s. Find the velocity of each object after the collision.