In a false-weight question the dealer charges the customer for one quantity but hands over less. The extra money is pure gain, but it must be measured against what the dealer actually gave away, because that is his real cost. This one idea, cost is what is delivered, settles almost every variation.
The cleanest way to work is with a ratio. Write what the customer pays as a multiple of cost, multiply by the quantity charged for, divide by the quantity delivered, and subtract 1.
Overall gain = (price factor) × (claimed quantity ÷ actual quantity) − 1, where the price factor is 1 at cost price, 1.1 at a 10% profit, 0.95 at a 5% loss, and so on.