This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] When the cell (emf $\varepsilon$, internal resistance $r$) is shunted by $R$, its terminal voltage is $V=\frac{\varepsilon R}{R+r}$, and the balance length is proportional to $V$. So $\frac{200}{300}=\frac{5/(5+r)}{15/(15+r)}=\frac{5(15+r)}{15(5+r)}=\frac{15+r}{3(5+r)}$. Then $2(5+r)=15+r\Rightarrow r=5\ \Omega$. Answer: 5.