the motion of a body is described in simple harmonic motion as x=Cos(wt).when the body is 0.2m from the mid of its path , velocity is 3m/s and when it is 0.8m from the center of its path, its velocity is 1m/s ,determine:

1.the period
2.greatest acceleration