A mass m, free to move along a line is attracted towards a given point on the line with a force proportional to its distance from the given point. If the mass starts from rest at a distance Xo from the given point, show that the mass moves in a simple harmonic motion.