I understand how to balance equations when the full equations are given to me but I don't understand how to write a single replacement reaction. Help Me??

A + BC ==> AC + B

Mg + CuCl2 ==> MgCl2 + Cu