The electrostatic force between two point charges is given by:

where

is the Coulomb's constant
q1 and q2 are the two charges
r is the distance between them
In our problem, charge 1 is

while charge 2 is

and their distance is
r=5.0 cm=0.05 m
So, the electrostatic force between them is

And the negative sign means the force is attractive, because the two charges have opposite sign.