Answer:
It replaces Br in MgBr2.
Step-by-step explanation:
Hello!
In this case, when carrying out double displacement reactions, we need to take into account that cations and anions are switched; thus, when LiCl and MgBr2 react, since Li and Mg are the cations, Br and Cl switch as shown below:
![2LiCl+MgBr_2\rightarrow 2LiBr+MgCl_2](https://img.qammunity.org/2022/formulas/chemistry/college/tpqobd26qwyif9hsbpljj61x4q9sn64sa1.png)
Thus, chlorine replace Br in MgBr2 to form MgCl2.
Best regards!