Two vertically suspended springs
= Two vertically suspended springs
For two masses hung in series from springs of natural length $\ell$, the lower equilibrium spring tension is $m_2g$ and the upper tension is $(m_1+m_2)g$. Hence their equilibrium lengths are
$$
L_2=\ell+\frac{m_2g}{k_2},
\qquad
L_1=\ell+\frac{(m_1+m_2)g}{k_1}.
$$