Final answer:
The formula of the sulfate of the metal M is MSO4 and the formula of the nitrate of the metal M is MNO3.
Step-by-step explanation:
The formula of the sulfate of the metal M would be MSO4. This is because sulfate is a polyatomic ion with a charge of 2-. Therefore, to balance the charges, we need one metal ion with a 2+ charge and one sulfate ion.
The formula of the nitrate of the metal M would be MNO3. Nitrate is another polyatomic ion with a charge of 1-. So, we need one metal ion with a 1+ charge and one nitrate ion to balance the charges.