Elements | No. of atoms | Elements | No. of atoms |
Mg | 3 | Mg | 3 |
N | 2 | N | 2 |
H | 2 | H | 12 |
O | 1 | O | 6 |
Here, Mg and N atoms are balanced at both sides. To balance H and O atoms, the value of x should be 6.
Hence, the balanced equation is:
Mg3N2 (aq)+6H2O (l)→3Mg(OH)2 (aq)+2NH3 (g)