Mg burns in air to form two compound (A) and (B). (A) is sparingly soluble in water and the resulting solution is weakly basic. (B) dissolve in water to form (C) and gas (D) with dilute HNO3 gives (E). E on heating gives gas (F) which behaves as an oxidising agent too. Gas F on reaction with phosphorus produce an important dehydrating agent (G). The compound G is: