Quy đổi hh oxit gồm $FeO$ (x mol), $Fe_2O_3$ (y mol)
$\Rightarrow 72x+160y=17,12$ $(1)$
$FeO+2HCl\to FeCl_2+H_2O$
$Fe_2O_3+6HCl\to 2FeCl_3+3H_2O$
$n_{FeCl_2}=x (mol)$
$n_{FeCl_3}=2y (mol)$
$3FeCl_2+\dfrac{3}{2}Br_2\to FeBr_3+2FeCl_3$
$\Rightarrow n_{FeBr_3}=\dfrac{x}{3}(mol); n_{FeCl_3}=\dfrac{2x}{3}(mol)$
$\Rightarrow 296.\dfrac{x}{3}+162,5.\dfrac{2x}{3}+162,5.2y=38,42$ $(2)$
$(1)(2)\Rightarrow x=0,06; y=0,08$
$\to n_{HCl}=2x+6y=0,6(mol)$