a,
$n_{H_2SO_4}=0,4.2=0,8 mol$
$2NaOH+H_2SO_4\to Na_2SO_4+2H_2O$
$\Rightarrow n_{NaOH}=0,8.2=1,6 mol$
$V_{NaOH}=1,6l$
$\Rightarrow V_{dd}=1,6+0,4=2l$
$n_{Na_2SO_4}=0,8 mol$
$\to C_{M_{Na_2SO_4}}=0,8:2=0,4M$
b,
$Ba(OH)_2+H_2SO_4\to BaSO_4+2H_2O$
$\Rightarrow n_{Ba(OH)_2}=0,8 mol$
$\Rightarrow m_{dd Ba(OH)_2}=0,8.171:17,1\%=800g$
$\to V_{dd}=\dfrac{800}{1,2}=666,67ml$