Answer: The motion of the spring depends on the force applied on the spring and spring constant.
Step-by-step explanation:
The motion of the spring depend on two factors and is given by the equation:

where,
F = Force applied on the spring to move
k = Spring constant
x = Compression or extension of the spring (displacement of spring)
Hence, motion of the spring or the displacement of the spring depends on the force applied on the spring and spring constant.