0.144 Joules
Step-by-step explanationelastic potential energy is given by

so
Step 1
Diagram:
given

Step 1
a) energy when the spting is compressed
Total elastic energy of the spring = Kinetic energy of the spring + potential energy of the spring
so

the kinetic energy is given by