If the length of a 24 cm spring increases to 87 cm when a 5 kg weight is hanging from it, what is the spring's constant?