Here's the balanced chemical equation:
2 LiCl + Mg(OH)₂ → 2 LiOH + MgCl₂
This reaction is an example of a double displacement reaction, where the cations and anions of two reactants switch partners.