Cakes per day Other goods still producible (in Y) 2 4 6 8 10 12 14 Producer A
Producer A at 3 cakes: the 3rd cake gives up 1.10 of other goods.
That drop is the marginal cost of the 3rd cake; each further cake gives up more, so marginal cost rises.