$${m_1\frac{{{\left(\omega l_1\right)^2}}}{l_1}=m_2\frac{{{\left(\omega l_2\right)^2}}}{l_2}}$$