A mass m attached to a spring of spring constant k is stretched by a distance x0 from its equilibrium position and released with no initial velocity, on a smooth horizontal surface. The maximum speed attained by mass in its subsequent motion and the time at which this speed would be attained are respectively: