(c) When spring is massless then according to momentum conservation principle
${\overrightarrow{p}}_{i} = {\overrightarrow{p}}_{f}$ or $0 = m_{1}{\overrightarrow{v}}_{1} + m_{2}{\overrightarrow{v}}_{1}$
$\therefore m_{1}{\overrightarrow{v}}_{1} = - m_{2}{\overrightarrow{v}}_{1}$
$\therefore m_{1}v_{1} = m_{2}v_{2}$ or $p_{1} = p_{2}$
$\therefore K_{1} = \frac{p_{1}^{2}}{2m_{1}},\ \ \ \ \ K_{2} = \frac{p_{2}^{2}}{2m_{2}}$
$\therefore\ \frac{K_{1}}{K_{2}} = \frac{m_{2}}{m_{1}}\ \ \ \ \ \ \ (\because\ \ p_{1} = p_{2})$