That MCAT will not know what hit it!

The amount of work done on the spring is equal to the energy that was needed to deform the spring. Therefore, once we know k from the using the equation F=-kx we can find the work on the spring.