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