The weight acting downwards is balanced by the vertical component of the tension.
The electrostatic repulsion between the 2 charges is balanced by the horizontal component of the tension.
From the geometry of the triangle we can write:
Taking the vertical components:
Now for the horizontal components:
The force between the 2 charges is given by Coulomb's Law:
Substituting in the value for