The chemical <em>equation</em> for the <em>formation of NaCl</em> is:
Na + (1/2) Cl₂ → NaCl , ΔH = - 411 kJ
That equation means that 1 mole of NaCl is formed by the reaction of 1 mole of Na and 1/2 mole of Cl₂, with a release of energy of 411 kJ.
The <em>decomposition</em> of <em>NaCl</em> is the inverse of the <em>formation</em> reaction; thus, you swift products and reactants and inverse the sign of the <em>change in enthalpy:</em>
NaCl → Na + 1/2 Cl₂, ΔH = 411 kJ
Since you want the decomposition of 2 moles you multiply the equation and the ΔH by 2: