1. Volume of the reactor is 10 m3 (A + B = 10 m3).
2. Net gain = buy price A + B - sell price A, B, C, D
3. C is expensive to buy, but D is cheap to sell - I recommend not to buy it.
4. With A and B as variatives it is function of net gain vs. initial concentration of A and B.