$n_{BaCO_3\text{max}}=n_{Ba(OH)_2}=0,02(mol)$
Khi sục $0,025$ mol $CO_2$:
$Ba(OH)_2+CO_2\to BaCO_3+H_2O$
Ban đầu có $0,02$ mol $BaCO_3$.
Dư $0,025-0,02=0,005(mol)$ $CO_2$
$CO_2+BaCO_3+H_2O\to Ba(HCO_3)_2$
$\Rightarrow n_{BaCO_3\text{tan}}=0,005(mol)$
$\to x=0,02-0,005=0,015(mol)$