The potential energy of a particle executing simple harmonic motion at a distance x from the equilibrium position is proportional to