When a force of F=26 N is applied to the spring, the spring is stretched with respect to its rest position by

This means that the constant of the spring is

The work required to stretch the spring from 10 cm to 13 cm, which corresponds to an elongation of

is equal to the variation of elastic potential energy of the spring, so:
