The magnetic moment of coordination compound is gives as μ=n(n+2)
In case of [Fe(NH3)6]3+,Fe is in +3 oxidation state thus the electronic configuration of Fe3+ is 3d54s0(t23geg2), but NH3 is a strong ligand pairing of electrons occur and thus configuration
becomes t2g5eg0 ⇒n=1 μ=1(1+2)=3=1.73BM
In case of [FeF6]3−,Fe is in +3 oxidation state, as Fe is a weak ligand, pairing will
not occur thus its configuration will be 3d54s0(t2g3eg0)⇒n=5 μ=5(5+2)=35=5.92BM