Answer:
A. 49
Explanation:
It is always nice to draw a free body diagram to visualize what is going on. (Or that is what my physics teacher told me haha)
Since you are given F=mg, you can substitute your given values (g=-9.8 and m=0.5) to solve for force.
F = -9.8 x 0.5 = -4.9 N
Then substitute -4.9 N and your given displacement (x=0.1) into your given equation to solve for the spring constant (k).
-4.9=-k(0.1) = -4.9/0.1 = -49
-49 = -k, so -49/-1 = 49
k=49