Answer:
C. 1.875 J
Explanation:
You want the work done stretching a spring from 25 cm to 30 cm, given that the force required to stretch it to 25 cm from its natural length of 15 cm is 30 N.
Spring constant
In newtons per meter, the spring constant is ...
k = (30 N)/(0.25 m -0.15 m) = 300 N/m
Work
Work is the product of force and distance. When the force is a function of distance, the work can be found by integrating:
dW = k(x -0.15)dx

The work required to stretch the spring to 30 cm is 1.875 J.
__
Additional comment
The units of work (energy) used here are newton-meters (joules), so the distance dimensions need to be in meters. 15 cm = 0.15 m, for example.
<95141404393>