A spring is stretched 20mm by a force of 10N. What is the work done by force?

F = kx

Work = 1/2 kx^2 = 1/2 Fx