This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] The forces can cancel only outside the pair, on the side of the smaller charge (beyond $x=12$ cm). At distance $x$ from the origin: $\frac{4q_0}{x^2}=\frac{q_0}{(x-12)^2}\Rightarrow2(x-12)=x\Rightarrow x=24$ cm. Answer: 24.