Concepts and reason
The concept required to solve this problem is electric force and Coulomb's law. Initially, obtain the expression for net electric force on q2 by using expression for electric force and knowing direction of force due to charge q1 and −2.0nC then find the charge q1.
Fundamentals
According to Coulomb's law, the electric force between two charged particles is directly proportional to the product of their magnitude of charges and inversely proportional to the square of the distance between them. In equation form, Coulomb's law can be stated as F=r2kq1q2
Here, q1 and q2 are the charges separated by a distance r and k is the Coulomb's constant.
Use Coulomb’s law, to solve for the magnitude of the force of one charge on another. Also use the idea that charges of the same signs repel while charges of opposite signs attract.

Distance between charges q1 and q3 is,
r1=10 cm=10×10−2 m
Distance between charges q3 and q2 is,
r2=10 cm=10×10−2 m
So distance between charges q1 and q2 is,
r=r1+r2
Substitute 10×10−2 m for r1 and r2 in equation r=r1+r2 as follows:
r=10×10−2 m+10×10−2 m=20×10−2 m=0.2 m
The net force on q2 due to q1 and q3 is given by, Fneton q2=Fq1 on q2+Fq3 on q2
Here, Fq3 on q2 is the force due to q3 on q2 and Fq1 on q2 is the force due to q1 on q2 The force on q2 due to q1 is Fq1onq2=(r)2kq1g2
Substitute 0.2 m for r in equation Fq1onq2=(r)2kq1q2 as follows:
Fq1onq2=(0.2 m)2kq1q2
The force on q2 due to q3 is Fq3 on q2=(r2)2kq3q2
Substitute 0.1 m for r2 and −2×10−9C for q3 in equation Fq3onq2=(r2)2kq3q2 as follows:
Fq3onq2=(0.2 m)2kq2(−2×10−9C)
Substitute (0.2 m)2kq2(−2×10−9C) for Fq3onq2 and (0.2 m)2kq1q2 for Fq1 on q2 in equation Fneton q2=Fq1 on q2+Fq3 on q2 as follows:
Fneton q2=(0.2 m)2kq1q2+(0.10 m)2k(−2×10−9C)q2=(0.2 m)2kq1q2−(0.10 m)2k(2×10−9C)q2
Here assume that the charge q2 is positive. Considering the forces on positive charge q2. The other positive charge,
q1, exerts a repulsive force q2 that pushes q2 away from q1, that is, to the right. The negative charge q3 exerts an
attractive force on q2 that pulls q2 toward q3, that is, to the left. For the net force on q2 to be zero, these two forces must have the same magnitude.
Equate the net force on q2 to zero, Fneton q2=0 kq2[(0.2 m)2q1−(0.10 m)22×10−9C]=0
Rearrange the above equation as follows:
[(0.2 m)2q1−(0.10 m)22×10−9C]=0(0.2 m)2q1=(0.10 m)22×10−9Cq1=(0.10 m)2(0.2 m)2×(2×10−9C)=8×10−9C
Convert the units of charge from Coulomb's to Nano Coulombs as follows:
q1=8×10−9C(10−9C1nC)=8nC
Charge q1 is 8nC.
The Charge q1 is 8nC.
The charged particles are point charges. The charge q2 is in static equilibrium, so the net force on q2 is zero.
The Charge q1 is 8nC.