When a spring is compressed, 'A' amount of work is done on the spring, what was the value of its potential energy?