If $C$ (diamond) $\rightarrow C$ (graphite ) $+X \mathrm{~kJ} \mathrm{~mol}^{-1}$
$\mathrm{C}($ diamond $)+\mathrm{O}_{2}(\mathrm{~g}) \rightarrow \mathrm{CO}_{2}(\mathrm{~g})+\mathrm{YkJmol}^{-1}$
C (graphite) $+\mathrm{O}_{2}(\mathrm{~g}) \rightarrow \mathrm{CO}_{2}(\mathrm{~g})+\mathrm{ZkJmol}^{-1}$
at constant temperature. Then