Which law of motion is this and why?

A stationary bumper car is sent into motion after being hit with another bumper car.