Step 1: Arrange the charges.
Place $-q$, $Q$, $-q$ in a line with equal spacing $a$: $-q$ at one end, $Q$ in the middle, $-q$ at the other end. The two end charges are then $2a$ apart. We need $\dfrac{Q}{q}$ so the total potential energy is zero.
Step 2: Recall the pair energy.
Each pair contributes $U = \dfrac{1}{4\pi\varepsilon_0}\dfrac{q_i q_j}{r_{ij}}$, and the system energy is the sum over all three pairs.
Step 3: Middle-to-end pairs.
The two $Q$-with-$(-q)$ pairs are each at distance $a$: each gives $\dfrac{1}{4\pi\varepsilon_0}\dfrac{-qQ}{a}$. Together they give $\dfrac{1}{4\pi\varepsilon_0}\dfrac{-2qQ}{a}$.
Step 4: End-to-end pair.
The two $-q$ charges are $2a$ apart, giving $\dfrac{1}{4\pi\varepsilon_0}\dfrac{(-q)(-q)}{2a} = \dfrac{1}{4\pi\varepsilon_0}\dfrac{q^2}{2a}$.
Step 5: Set the total to zero.
$\dfrac{1}{4\pi\varepsilon_0 a}\left(-2qQ + \dfrac{q^2}{2}\right) = 0$. The prefactor is non-zero, so $-2qQ + \dfrac{q^2}{2} = 0$.
Step 6: Solve the ratio.
Then $2qQ = \dfrac{q^2}{2}$, giving $Q = \dfrac{q}{4}$, so $\dfrac{Q}{q} = \dfrac{1}{4}$, i.e. $1 : 4$, option (3).
\[ \boxed{\dfrac{Q}{q} = \dfrac{1}{4}\ (1:4)} \]