Answer
a) 10 cm
b) 12 cm
Work Step by Step
We know the following using the forces given:
$x = \frac{m(a_y+g)}{k}$
Plugging in the given values, we find:
a) $x = \frac{35(0+9.8)}{3400}=10 \ cm $
b) $x = \frac{35(1.9+9.8)}{3400}=12 \ cm $