The spin-only magnetic moment is given by the formula:
\[
\mu = \sqrt{n(n+2)} \, \text{B.M.}
\]
where \( n \) is the number of unpaired electrons. Based on the electronic configurations of \( Fe^{3+} \) (in \( K_3[Fe(OH)_6] \)) and \( Fe^{2+} \) (in \( K_4[Fe(OH)_6] \)), the number of unpaired electrons in these complexes is calculated. For \( Fe^{3+} \), there are 5 unpaired electrons and for \( Fe^{2+} \), there are 4 unpaired electrons, leading to magnetic moments of 5.92 and 4.90 B.M., respectively.