A mass on the end of a spring is streteched a distance x from equilibrium and released

A mass on the end of a spring is streteched a distance x from equilibrium and released. At what distance from equilibrium will it have

a)velocity equal to half its maximum velocity, and
b) acceleration equal to half its maximum acceleration?