Write balanced chemical equation to show the effect of heat on magnesium hydrogen carbonate in an aqueous solution.

Magnesium hydrogen carbonate decomposes upon heating, forming magnesium carbonate, carbon dioxide, and water:
Mg(HCO₃)₂ → MgCO₃ + CO₂ + H₂O