Question: what is the relationship between the force applied to a spring and the amount it stretches?
Answer: When a spring is stretched or compressed, so that its length changes by an amount x from its equilibrium length, then it exerts a force F = -kx in a direction towards its equilibrium position. The force a spring exerts is a restoring force, it acts to restore the spring to its equilibrium length.