Magnesium hydride is a compound.
That would be magnesium hydroxide, though the formula is usually written as Mg(OH)2
MgI2 is also known as Magnesium Iodide. This is a molecule of magnesium that is bonded to two molecules of iodine.
The formula of the hydride formed with magnesium is MgH2.
sodium hydride
The compound formula for silver hydride is AgH.
The compound SnH2 would be called either tin(II) hydride or stannous(II) hydride, but I'm not sure such a compound exists. The more common hydride of tin is tin(IV) hydride which is H2Sn, or SnH2.
Sodium hydride is an ionic compound.
Sodium hydride's formula is NaH.
linear
Magnesium hydride, MgH2
Lithium Hydride. It is combination of Lithium & Hydrogen.
No, Arsenic is an element. It is number 33 on the Periodic Table of the Elements.