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.
(160 + 160) * 2 + 160 * 8 = ? * 8 + (? + 180) * 4.
==> 1920 = ? * 8 + (? + 180) * 4.
==> Write without parentheses: 1920 = ? * 8 + ? * 4 + 180 * 4.
==> Simplify: 1920 = ? * (8 + 4) + 720.
==> 1920 - 720 = ? * 12.
==> (1920 - 720) / 12 = ?.
==> ? = 100