A spring with a constant of 2kgs2 is lying on the ground with one end attached to a wall. An object with a mass of 4kg and speed of 8ms collides with and compresses the spring until it stops moving. How much will the spring compress?