A 1.5-kg box that is sliding on a frictionless surface with a speed of 12 m/s approaches a horizontal spring. The spring has a spring constant of 2000 N/m. (a) How far will the spring be compressed in stopping the box? (b) How far will the spring be compressed when the box's speed is reduced to half of its initial speed?