Metric geometry of equilibrium thermodynamics. II. Scaling, homogeneity, and generalized Gibbs–Duhem relations | Synapse