Dear Student
The nitride ions are N3- and when the metal nitride has the formula MN. This shows that the metal ions are M3+.
So, the sulphide of metal will be .
The formula of metal carbonate will be .
The formula of metal chloride will be .
Regards