A weight is suspended from a spring and as moving up and down in a simple harmonic motion. At store the weight is pulled down 5 cm below the resting position, and then release. After 8 seconds the weight reaches its highest location for the first time. Find equation of the motion.