a,
$n_{H_2}=0,05(mol)$
$R+2HCl\to RCl_2+H_2$ (1)
$RO+2HCl\to RCl_2+H_2O$ (2)
$n_{HCl(1)}=2n_{H_2}=0,1(mol)$
Gọi x là số mol $HCl (2)$
$\Rightarrow n_{H_2O}=0,5x (mol)$
BTKL:
$5,2+36,5.0,1+36,5x=14,25+2.0,05+0,5x.18$
$\Leftrightarrow x=0,2$
$\Rightarrow n_{HCl}=0,1+0,2=0,3(mol)$
$\Rightarrow n_{RCl_2}=0,15(mol)$
$M=\dfrac{14,25}{0,15}=95=M_R+71$
$\Leftrightarrow M_R=24$
Vậy hh có $Mg$, $MgO$
b,
$n_{Mg}=n_{H_2}=0,05(mol)$
$\Rightarrow \%m_{Mg}=\dfrac{0,05.24.100}{5,2}=23,1\%$
$\%m_{MgO}=76,9\%$