Box A:
Box B:
You can write the weigh of box B as:
Then, if you find the difference of the weighs you have:
6.6m questions
8.7m answers