Two charges are located on the x axis as shown in the figure. d=10.0 cm, q​1​​ =+6.97 μC, and q​2​​ =−10.4 μC. What charge q​3​​ needs to be placed at position x=3d so that the magnitude of the electric field at the origin is zero?

2 answers

you want
3
∑qiqj/dij^2 = 0
i,j=1
i≠j
for suitable definitions of dij, which you have not provided
In other words we do not have your figure so we do not really know where the first two charges are located.