The formula of the sample of an element X is X2(SO4)3. The formula of nitride of element X will be:
X2N
XN2
XN
X2N3
According to the sulphate formula, X has +3 oxidation state so formula of nitride is XN