Respuesta :

The oxidation number of P in Mg3P2 is 3. When writing ionic compounds, you swap the oxidation numbers and add them as the subscript.