A spring is stretched 40mm by a force of 15N.Calculate the workdone by the force(physics)

F = kx, so k = F/x

work = 1/2 kx^2 = 1/2 Fx
watch the units