write the equation of magnesium with water and the equation of calcium with water

1. Magnesium with water equation:

Mg (s) + 2H2O (l) → Mg(OH)2 (aq) + H2 (g)

2. Calcium with water equation:
Ca (s) + 2H2O (l) → Ca(OH)2 (aq) + H2 (g)