According to Lenz's Law, a changing magnetic flux through a coil induces an electromotive force (EMF) that opposes the change in flux. When a bar magnet is pushed towards the coil, the change in magnetic flux through the coil causes the galvanometer pointer to deflect in one direction (towards X , in this case). Conversely, when the bar magnet is pulled away from the coil, the change in magnetic flux is in the opposite direction. Thus, the galvanometer pointer will deflect in the opposite direction, which is towards X1. This occurs as the system attempts to oppose the change in magnetic flux by inducing a current that produces a magnetic field opposing the original direction.