Calculating the mass of a product formed in a reaction

1. Write out the balanced equation
2. Work out relative formula masses (M) of the reactant and product
3. Find out how many moles there are of the substance you know the mass of
4. Use the balanced equation to work out how many moles there'll be of the other substance
5. Use the number of moles to calculate the mass