Answer
a). $4.5J$
b). $3.5J$
Work Step by Step
a). $W=\frac{1}{2}K(x_{1}^{2}-x_{0}^{2})=\frac{1}{2}\times2.5\times 10^{3}\times(0.06^{2}-0^{2})=4.5J$
b). $W=\frac{1}{2}K(x_{1}^{2}-x_{0}^{2})=\frac{1}{2}\times2.5\times 10^{3}\times(0.08^{2}-0.06^{2})=3.5J$