A spring with spring constant k is initially compressed a distance x from its equilibrium length. After returning to its equilibrium, the spring is then stretched a distance x from that position. What is the ratio of the work that needs to be done on the spring in the stretching to the work done in the compressing?