We know that the total mechanical energy on a spring mass system is given by:
We also know that the mechanical energy is conserved, this means that the energy oscillates between the kinetic energy of the block and the potential energy stored in the spring.
We also know that the maximum velocity happens when the potential energy is zero; this happens when the spring is not compress. With this in mind we notice that the maximum potential energy and the maximum kinetic energy is the same.
Assume that the maximum potential energy happens when x=A. In this case we know that the spring is stretch an amount A, then the potential energy is:
Now, when the kinetic energy is maximum it has to have the same value then:
Solving for the velocity we have that:
For the mass of 800 gr we have that the maximum velocity will be:
while for the mass of 200 gr the maximum velocity will be:
(we use a prime here to so we can distinguish between the two blocks).
To compare this velocities we make the quotient:
This means that:
Therefore the maximum speed of the 800 gr mass is half the maximum velocity of the 200 gr mass.