$n_{CuSO_4}= 0,1.0,1=0,01mol $
$n_{MgSO_4}= 0,1.0,2= 0,02mol $
=> $n_{SO_4}= 0,01 + 0,02= 0,03mol $
$n_{Ba(OH)_2}= 0,1.0,2=0,02mol => n_{Ba^{2+}}= 0,02mol$
$n_{NaOH}= 0,5.0,2= 0,1mol $
=> $n_{OH^-}= 0,02 + 0,1= 0,12mol $
Cặp kết tủa 1: $BaSO_4$ tạo từ 2 ion $Ba^{2+} và SO_4^{2-}$
$Ba^{2+} + SO_4^{2-} ---> BaSO_4↓$
$SO_4 $dư, tính mol kết tủa theo $Ba^{2+}$
=> $n_{BaSO_4}= 0,02mol => m_{BaSO_4}= 4,66g$
Cặp kết tủa 2: $Mg(OH)_2$ và $Cu(OH)_2$ tạo từ 3 ion $Mg^{2+}và Cu^{2+} {OH^-}$
$Mg^{2+} + OH^- ---> Mg(OH)_2↓$
$Cu^{2+} + OH^- ---> Cu(OH)_2↓$
$OH^- $dư, tính mol kết tủa theo $Mg^{2+} và Cu^{2+}$
=> $n_{Mg(OH)_2}= 0,02 mol => m_{Mg(OH)_2}= 1,16g$
=> $n_{Cu(OH)_2}= 0,01 mol => m_{Cu(OH)_2}= 0,98g$
=> $m_{kết tủa}= 6,8g$