The relationships between lithium and magnesium involve the formation of normal oxides when reacting with oxygen gas, and forming nitrites when combined with nitrogen.