They live in an unfair universe where they have 3 cakes and 1 pie to divide between themselves.
They sell one of the cakes to buy one more pie, and Dave gets two cakes and Tom gets two pie.
They sell one of the cakes to buy one more pie, and Dave gets two cakes and Tom gets two pie.