Anfonwch hwn fel neges destun: Duality in inhomogeneous random graphs, and the cut metric