In a Hess diagram for combustion, draw an arrow downwards, and for formation, draw an arrow upwards. If arrows are in the direction of reaction progress (anticlockwise), add the enthalpies together and if any arrows are against the direction of the reaction progress, then that enthalpy is subtracted to produce an overall enthalpy change.