Try writing the result so that KE and Psi are both on the right-hand side of the equals sign, and everything else is on the left-hand side.
Can you write down an equation for the motion of an object attached to a frictionless spring?
Copyright © Michael Richmond. This work is licensed under a Creative Commons License.