An object of 0.500 kg rests on the horizontal frictionless surface. It is in a position in such a way that it is compressing a spring a distance of 12.0 cm. When the object is released, the object leaves the spring at a speed of around 20.0 cm/s. Determine the spring constant of the spring?