Well, yes, if the initial position of the middle mass makes the angle $$\beta = \arccos{\frac{m_2}{2m_1}}$$ but not if the initial position makes a different angle with the same masses. But as I said I'm getting to far ahead of myself now, and need to understand this fully at equilibrium first...