2 CH3COOH + Mg Mg(CH3COO)2 + H2