Answer:
U = 12 J.
Step-by-step explanation:
The potential energy in a spring is given by the following formula

where k is the spring force constant and x is the displacement from the equilibrium.
If U = 3 J when x = 0.05 m, then k is

Using this constant, we can calculate the potential energy at x = 0.10 m:
