A complete solution is offered:
Let's take the parts in reverse order, beginning with the energy.
Part (d): The total energy of the system
We first determine the spring constant using the mass-spring frequency equation:
## f = \frac{1}{2 \pi} \sqrt{\frac{k}{M}}##
## k = 4 \pi^2 f^2 M = 27.64~N/m##
The total energy of the system comprises kinetic and potential energy associated with the mass and the spring respectively.
##E = \frac{1}{2} M v^2 + \frac{1}{2} k x^2##
where v is the velocity of the mass and x the displacement from equilibrium (stretch or compression of the spring). We are given the velocity and position (presumably a displacement from equilibrium) at a particular instant.
##M = 175~gm = 0.175~kg##
##v = -20~cm/s = -0.20~m/s##
##x = 5.0~cm = 0.050~m ##
So that:
##E = \frac{1}{2} (0.175~kg) (-0.20~m/s)^2 + \frac{1}{2} (27.64~N/m)(0.050~m)^2##
##E = 0.0380~J##
Part (c): The maximum speed
We can use the expression for the total energy. The speed will be maximum when all the energy is due to the speed of the mass and the spring is at its equilibrium position with no stored energy. So:
##E = \frac{1}{2} M V_{max}^2##
##V_{max} = \sqrt{\frac{2E}{M}} = 65.9~cm/s##
Part(b): The amplitude
Again using the energy expression, the maximum amplitude occurs when the mass is stationary and the spring is at its maximum extension, so all the system energy is in the spring. So:
##E = \frac{1}{2} k x_{max}^2##
##x_{max} = \sqrt{\frac{2E}{k}} = 5.25~cm##
Part(a) The period of oscillation
This is simply the inverse of the frequency (2.0 Hz), so
##T = \frac{1}{f} = 0.50~s##