For this type of problem, it is essential for you to have a data on the standard heats of formation of the substances given. For elemental substances or diatomic gases, the standard heat of formation is 0. Standard means the temperature is at 0°C and pressure at 1 atm. Calculate the standard heat of reaction using:
ΔH°rxn = ∑(Stoichiometric coefficient×ΔHf of products) - ∑(Stoichiometric coefficient×ΔHf of reactants)
Then, use this equation to find the reaction at T = 500°C and P = 1 bar:
ΔHrxn = ΔH°rxn + [∑(Stoichiometric coefficient×Cp of products) - ∑(Stoichiometric coefficient×ΔHf of reactants)]ΔT
So, you also need the Cp or specific heat capacities of the substances.