Daniel B. answered 10/29/20
A retired computer professional to teach math, physics
Let
m = 1.2 kg is the mass of the object,
h = 1 m is the initial height of the object,
k = 315 N/m is the spring's force constant,
g is gravitational acceleration: 9.8 m/s^2 for (a), (b) and 1.63 m/s^2 for (c)
Fr is the force of resistance: 0 for (a), (c) and 0.6N for (b)
x is the maximum compression of the spring to be calculated
We calculate x from conservation of energy.
All the potential energy Ep the object has at the beginning gets
converted into the spring energy Es and the work Wr of the resistance.
The potential energy Ep is with respect to the point x of maximum compression,
because at that point all the energy conversion has finished.
Ep = (h + x)mg
The spring energy is given by
Es = kx2/2
The work of the resistance is the product of the resistance force over the distance travelled.
Wr = Frx
Conservation of energy:
Ep = Es + Wr
Substituting
(h + x)mg = kx2/2 + Frx
This is a quadratic equation with known coefficients,
which I hope you can solve for the three cases (a), (b), (c).
If you have trouble with the equation, let me know.