An object is attached to a coiled spring. The object is pulled down (negative direction from the rest position) 6 centimeters, and then released. Write an equation for the distance d of the object from its rest position, after t seconds if the amplitude is 6 centimeters and the period is 4 seconds.