J.R. S. answered 06/21/21
Ph.D. in Biochemistry with an emphasis in Neurochemistry/Neuropharm
Magnesium iodide (MgI2; not MgI) is an ionic compound. You should know this because it is made up of a metal (Mg) and a non metal (I). I can't easily draw on this platform, but it would be something like this....
I- Mg2+ I-
put 8 electrons around each I- (4 electron pairs) and no electrons around the Mg2+