A metal x on heating in nitrogen gas gives y. y on treatment with h2o gives a colourless gas which when passed through cuso4 solution gives blue colour. y is
(a) mg(no3 ) 2
(b) mg2n3
(c) mgcl2
(d) mgo