For those complex ions I believe you can just look at the oxidation numbers of the transition elements to find the number of d-electrons.
In the first one, NH3 is nuetral, so all 6 ligands will will contribute nothing to the total charge of the complex ion. The total charge is +3, so Fe must be +3. The number of d-electrons is therefore 5.
For FeCl6 3-, you have 6 chloride ligands which each contribute a -1 charge to the complex ion. For a total charge of -3, Fe must be +3.
Cobalt would also be +3 because H2O are neutral ligands. The number of d-electrons would be 6.
I think that's right, can anyone confirm this?
Yeah, the easiest way to do this is to look at the known values. So for Cl, it is -1, Oxygen is -2 (This is due to how many additional elections these atoms want to take one to get to their noble configuration/full octet of 8), so if you notice Cl is in the 7th group, hence one away from 8 electrons, so it adds 1. Oxygen is in the 6th group, 2 e-'s away from 8, so it adds two.
Now if you have a transition metal bound to a nonmetal, use the oxidation state of the nonmetal (O, Cl, Br, F, etc).
Do it just like Seraph said in the above bolded part.
You take the formal charge which is always given in these types of problems, then you take the known nonmetal's charge and multiply it by the number of of them there are, so if it's O6, there are 6 oxygens which are -2, so the charge is -12 (6 x -2 = -12). H is always +1 one (unless it's bound to a metal, then it's -1). Then you would calculate how many hydrogens and multiply that number by +1 (they are usually bound to nonmetals). Then the transition metal is the difference between the formal charge, the nonmetal charge, and the hydrogen charge.
Now applying these rules: so if you have H20 for instance, your formal charge is 0 because O = -2, and 2xH = +2. For H30+, it has a positive charge, because O = -2, then you have 3xH = +3, so you have -2 + 3 = +1.
Now applying these rules to the examples above:
Fe(NH3)6^(3+)
Fe is your metal that we're calculating, so we'll call it "X."
Now you know the formal charge is +3.
The charge of NH3 is 0 (This is because N= -3 [remember look at the periodic table and how many e-'s it needs for it's octet] and 3xH = +3, so -3 + 3 = 0).
Knowing the formal charge and the charge for ammonia (NH3), we can calculate for Fe:
Fe is the difference between the formal charge and the nonmetal charge.
In this case +3 - 0 = +3 Charge on Fe
So, now you know the charge of Fe is +3 on this salt.
Now for FeCl6^3-:
Formal Charge = -3
Cl = (6xCl = -6)
So, the charge on Fe is the difference between Cl and the Formal charge:
-3 - (-6) = +3
I hope that makes sense.