Write balanced reaction for the following metal acid reaction

A) Mg and HCI
B) Zn and HCI

Mg + 2HCl ==> MgCl2 + H2