Correct answer: 8 J
The work done on a spring is calculated using the formula W = (1/2)k(x2² - x1²), where k is the spring constant and x is the extension. By substituting the values for the initial and final extensions (0.05 m and 0.15 m) into the formula, the work done is found to be 8 J.