Given,
The Charge on the 1st sphere and 2nd sphere is q1 = 2 x 10-7 C and q2 = 3 x 10-7 C
The distance between two charges is given by r = 30cm = 0.3m
The electrostatic force between the spheres is given by the relation :
F = 1/4πϵo x q1q2/r2
Here,
ϵo = permittivity of free space and,
1/4πϵo = 9 x 109 Nm2C-2
Force, F = 9x109x2x10-7x3x10-7 / (0.3)2 = 6 x 10‑3 N.
The force between the charges will be repulsive as they have the same nature.