One can make a very rough estimation of this overall cost for each pollutant, on top of the costs associated with the other three, by multiplying half the marginal cost (to approximate average cost) by the volume of reductions.
It is possible to make accurate cost estimates using math.
If you wish very hard the problem will sort itself out.