How to calculate the maximum amount of the other good that the two countries could produce working together?