You have to use the Henderson-Hasselbalch equation. Keep in mind that because the Pka is given the equation changes form slightly:
PH = Pka + log[acid/base]
Step 1 (Figure out the concentrations):
0.282 M of Acid (C6H5OOH) - 0.150 M = 0.132 M of acid
0.282 M of Base (C6HCOO) + 0.150 M = 0.432 M of bas3
Step 2 (Plug into equation):
PH = Pka + log[acid/base]
PH = 4.20 + log[0.132 M/0.432 M]
PH = 3.69
Magnesium and I think its MG12 for the other part
The anode is the negative electrode and so will be donating electrons to assist in this chemical reaction occuring. All reactions accept electrons as reactants. The key issue is the reduction potential Eo (+1.8V). This is greatest for the reaction:
Co3+ + e -> Co2+
Therefore this reaction has the greatest tendency to occur.