$${m_1 - m_2 = -2,5 \log \frac{l_1}{l_2}.}$$