I'm sorry I'm just really confused by ionization energies and the heat of formation. Could you explain how to set up this problem?

Use the data (kJ) for ionization energies, electron affinities and heats of formation to find the lattice energy of Fe3O2(s) according to the equation

Fe2O3(s)---> 2Fe3+(g) + 3O2-(g)

IE1(Fe) = 762
IE2(Fe) = 1562
IE3(Fe) = 2957
EA1(O) = -141
EA2(O) = 746
DHf (Fe2O3(s)) = -826
DHf (Fe(g)) = 416
DHf (O(g)) = 249