in term of thise energy changes mg form chloride with the formula mgcl2 not mgcl mgcl3

Unless "govt pu college" (with three "Ls"?) teaches something that nobody else in the world teaches, it is not your subject matter. This looks like chemistry or physics.