Also, check out the conservation of linear momentum and Euler's First Law. The man, car, and 2 magnets in your diagram constitute a system. The system has a center of mass.
Essentially, Euler's First Law states that only an external force acting on a system can change the speed of the center of mass of a system.