$n_{NaOH}=a$
$n_{Fe_2(SO_4)_3}=\dfrac{8}{400}=0,02 mol$
- TN1: dư $NaOH$
$Fe_2(SO_4)_3+6NaOH\to 2Fe(OH)_3+3Na_2SO_4$
$\Rightarrow n_{NaOH\text{dư}}= a-0,02.6=a-0,12(mol)$
$n_{Al_2(SO_4)_3}=0,04 mol$
$n_{Al(OH)_3}=0,02 mol< 2n_{Al_2(SO_4)_3}$
+ TH1: TN2 dư $Al^{3+}$
$Al_2(SO_4)_3+6NaOH\to 2Al(OH)_3+3Na_2SO_4$
$\Rightarrow a-0,12=0,02.3=0,06$
$\Leftrightarrow a=0,18M$
+ TH2: TN2 dư $OH^-$
$Al_2(SO_4)_3+6NaOH\to 2Al(OH)_3+3Na_2SO_4$ (1)
$n_{NaOH(1)}= 0,04.6=0,24 (mol), n_{Al(OH)_3(1)}=0,04.2=0,08 (mol)$
$\Rightarrow n_{Al(OH)_3(2)}=0,08-0,02=0,06 mol$
$Al(OH)_3+NaOH\to NaAlO_2+2H_2O$ (2)
$\Rightarrow n_{NaOH(2)}=0,06 mol$
$\Rightarrow a-0,12=0,06+0,24$
$\Leftrightarrow a=0,42M$