In the diagram above, the hanging mass \(m_2\) is adjusted until \(m_1\) is on the…