Answer
a) increases
b) decreases
Work Step by Step
(a) We know that when the mass moves downward, the spring is stretched and as a result the potential energy of the spring increases.
(b) As the mass moves downward, its height from the ground decreases and as a result the gravitational potential energy decreases.