Now suppose that Person A increases production of Good X by

X
a units and decreases production of Good Y by

Y
b units, while Person B follows the opposite course. The two parties then exchange the goods, so that they realize the same total stocks as before. Under this arrangement, Person A's new total cost is as follows: