3Mg+N2→Mg3N2.
6Li+N2→2Li3N
These two elements have similar properties (diagonal relationship) because of their similar atomic and ionic radii and similar charge to radius ratio.