While writing formulae: put the coordination entity in square brackets, list ligands alphabetically inside the bracket, compute the complex charge from metal oxidation state and ligand charges, then add the appropriate counter-ions outside the bracket.