A compressed spring is used to launch an object along a horizontal frictionless surface. When the spring is compressed through a distance x and released, the object leaves the spring at speed v. What is the distance through which the spring must be compressed for the object to leave the spring at v/2 ?