Calculate the lattice energy of calcium chloride given that the heat of sublimation of Ca is 121 Kj/mol and ?HoF(CaCl2) = -795 Kj/mol

I know what the final answer is, but I am just beyond confused on how you calculate the delta h's. Any help would be greatly appreciated.