Rewrite the following as two half equation indicating which represents oxidation and which represents reduction
zn(s) + 2H ---> zn^(2+) + H2
2Mg + O2 ----> 2mgO(s)
use oxidation numbers to identify the oxidizing agent and reducing agent
cuO + H2 ---> cu + h2o