Calculate the amount of energy given off per mole of hydrogen and per mole of octane if 1 kilogram of each fuel is combusted.

H2 + O2 → H2O

C8H18 + O2 → CO2 + H2O