The configuration $\mathrm{t}_{2 \mathrm{~g}}^3 \mathrm{e}_{\mathrm{g}}^1$ represents a total of $3+1=$ 4 electrons in the d-subshell with all electrons unpaired as there is a weak-field ligand.
Thus, $\mathrm{Mn}$ is in +3 state and the complex 'A' will be $\left[\mathrm{Mn}\left(\mathrm{H}_2 \mathrm{O}\right)_6\right]^{3+}$.
The configuration $t_{2 g}^4 \mathrm{e}_{\mathrm{g}}^0$ represents the same oxidation state of $\mathrm{Mn}$ but with a strong-field ligand.
Thus, the complex ' $\mathrm{B}$ ' will be $\left[\mathrm{Mn}(\mathrm{CN})_6\right]^{3-}$.