a
Power dissipated in $5\, \Omega$
${=\mathrm{i}^{2} \mathrm{R}} $
${=(2)^{2} \times 5=20 \mathrm{\,W}}$
$\therefore $ Power dissipated in $\mathrm{R}=30-20$
$=10 \mathrm{\,Watt}$
$\therefore \quad 10=\frac{(10)^{2}}{\mathrm{R}}$
$\mathrm{R}=\frac{100}{10}=10\, \Omega$
