Step 1: Understanding the Concept
Net electrostatic energy is the sum over pairs: \( U=k\sum\dfrac{q_{i}q_{j}}{r_{ij}} \).
Step 2: Distances from the figure
The right-angle triangle has two equal sides \( l \) and hypotenuse \( \sqrt{2}\,l \). \(Q\) is at the top, the two \(+q\) charges are at the base.
Step 3: Sum the pairs
\( U=k\left[\dfrac{Qq}{l}+\dfrac{Qq}{\sqrt{2}\,l}+\dfrac{q^{2}}{l}\right]=0 \).
Step 4: Solve for Q
\( Q\left(1+\dfrac{1}{\sqrt{2}}\right)=-q\ \Rightarrow\ Q=\dfrac{-\sqrt{2}\,q}{\sqrt{2}+1} \).
Final Answer:
The charge is \(-\sqrt{2}q/(\sqrt{2}+1)\).
\[ \boxed{\text{(D) }\dfrac{-\sqrt{2}q}{\sqrt{2}+1}} \]