A cart of mass m1 = 0.500 kg moves with a velocity of 0.900 m/s to the right on a frictionless track. It collides with another cart of mass m2 = 0.500 kg at rest. Car m1 stops and m2 moves in the direction that m1 was traveling. What is the magnitude and direction of the velocity of m2?