n is the number of electrons transferred from the reductant to the oxidant during the course of the redox reaction.
The easiest way to determine n in most cases is to look at how the oxidation numbers change from one side of the reaction to the other, but keep in mind your stoichiometry always. For instance, in your first equation, what is the charge on zinc as a reactant and as a product? Likewise for "M" in your second reaction. (Your second reaction isn't balanced, by the way, so this will make things difficult for you.)