Answer
Please see the work below.
Work Step by Step
We can prepare the given compounds as follows:
a. $MgCl_2+2NaOH\rightarrow Mg(OH)_2+2NaCl$
b. $AgNO_3+NaI\rightarrow AgI+NaNO_3$
c. $3Ba(OH)_2+2H_3PO_4\rightarrow Ba_3(PO_4)_2+6H_2O$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.