Problem- Consider an electrochemical cell consisting of two vessels connected by a porous separator. One vessel contains 0.750 M HCl solution and an Ag wire electrode coated with AgCl solid. The other vessel contains 2.10 M MgCl2 solution and a Mg wire electrode. First determine the net reaction, and then calculate the emf of this cell.
I want to know how this is done please show all steps in detail