Calculate the formation enthalpy for a phase

can you plz show me the step by step to calculate the formation enthalpy of any phase like Al2Hf for example.