A. Opposite
Step-by-step explanationSimple harmonic motion (SHM)is a very important type of periodic oscillation where the acceleration is proportional to the displacement from equilibrium, in the direction of the equilibrium position.
the oscillation of a mass on a spring when it is subject to the linear elastic restoring force given by Hooke's law
The restoring force is the force that brings the object back to its equilibrium position (red); the restoring force acts in the direction opposite to the displacement.
therefore, the answer is
A. Opposite
I hope this helps you