The scale is balanced. This is the case if the distances * weights are the same on both sides of the scale: (A + B) * weigth 1 + B * weight 2 = C * weigth 3 + (C + D) * weight 4.
(180 + 180) * 2 + 180 * 4 = 120 * ? + (120 + 120) * 4.
==> 1440 = 120 * ? + 960.
==> 1440 - 960 = 120 * ?.
==> ? = 480 / 120.
==> ? = 4.