A 2 kg mass hangs at rest from a spring that causes a displacement of 25cm. What is the spring constant, k, for this spring?

kx = mg

k = mg/x = 2*10/0.25 = 80 N/m