The elastic potential energy stored by a spring is

where

is the spring's constant and x is the displacement of the spring with respect its rest position.
In the problem we have two situations: situation 1 (initial condition), where the spring has a displacement of

, and situation 2 (final condition), where the spring has a displacement of

. The work performed by the spring corresponds to its loss in elastic potential energy:
![W=U_1- U_2 = (1)/(2)kx_1^2- (1)/(2)kx_2^2 = (1)/(2)k[x_1^2-x_2^2]=](https://img.qammunity.org/2019/formulas/physics/high-school/10qw23q965r4bvn6xr6zoxya8532kxbzum.png)
![= (1)/(2)(1.1 N/m)[(-3.9m)^2-(-1.5m)^2]=71 J](https://img.qammunity.org/2019/formulas/physics/high-school/8l55p2qi4foqpvesrbd2i2hxpljwvevr9x.png)
this work has positive sign, because it is performed
by the spring (in factm the spring is releasing from a position of higher potential energy to a position with less potential energy).
Therefore, the correct answer is
The spring performs 71 J of work.