A 50.0-g object is attached to a horizontal spring with a force constant of 5.0 N/m and released from rest with an amplitude of 30.0 cm. What is the velocity of the object when it is halfway to the equilibrium position if the surface is frictionless?