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