(c) If $v$ and $v^{'}$ are the velocities of the block of mass $M$ and $(M + m)$ while passing from the mean position when executing SHM
Using law of conservation of linear momentum, we have
$mv = (M + m)v^{'}\ \ or\ \ \ v^{'} = mv/(M + m)$
Also, maximum PE= maximum KE
$\therefore\ \frac{1}{2}k\ {A^{'}}^{2} = \frac{1}{2}(M + m){v^{'}}^{2}$
or $A^{'} = \left( \frac{M + m}{k} \right)^{1/2} \times \frac{mv}{(M + m)}$
$= \frac{mv}{\sqrt{(M + m)k}}$