With 2 masses on opposites sides of a pulley, their weights
are always equal because one accelerates up and the other down.
(And because the string puts the same force on both because tension is constant)