Terms of trade and gains from trade

Terms of trade and gains from trade · 29 / 50 · Structured · self-assessed

Question

Making one device costs A 79 food crates. Trade earns 51 crates but shipping consumes 2 crates per device. Find net gain per device exported after freight (crates). How should freight enter the comparison of consumption opportunities?