How would you do this? The K is 25.0 N/M

The spring's max amount of elastic potential energy?

nvm got it thanks :P