In this video I discuss the motion of a particle resting on a smooth horizontal table attached to a horizontal spring. The particle is pulled to the side and released.
If you are unsure of the equations used check out the introduction to SHM.

SHM : Particle pulled to the side of a horizontal spring : ExamSolutions Maths Revision - youtube Video