Predict the formula of the binary compound formed by the combination of the following pairs of elements :

Predict the formula of the binary compound formed by the combination of the following pairs of elements :
(i) Magnesium and nitrogen,
(ii) Silicon and Oxygen.
(b) Write the outer electronic configuration of d-block elements