Answer :
Mg gives up two to become Mg++
it gives omne each to two different iodines which become I-the compound is MgI2
it gives omne each to two different iodines which become I-the compound is MgI2