Cheaper : dearer = (dearer - mean) : (mean - cheaper). Always check by recomputing the weighted average.
- Subtract crosswise: far difference goes to the opposite quantity.
- The mean must lie between the two prices.
- Verify with the weighted average.
- Use the ratio to scale to the quantity given.