$${m_1 \vec a_1 = -m_1 \vec a_2}$$