Help

Mg + HCl  MgCl2 + H2

Double replacement – two compounds switch parts with one another.

AgNO3 + K2SO4  Ag2SO4 + KNO3