According to Coulomb's law:
\(F = K\frac{q_1q_2}{r^2}\)
\(= K\frac{1\mu C \times 2\mu C}{r^2}\)
⇒ \(F = 2K \left(\frac 1{r^2}\right)\)
To draw graph of F versus 1/r2

On comparing above equation with y = mx where m is the slope
We get, Slope of equation mA = 2K ....(1)
Both charges will repel each other, as they are of same sign, hence slope is positive.
\(F' = K\frac{q_1'q_2'}{r^2}\)
\(= K\frac{1\mu C \times (-3\mu C)}{r^2}\)
⇒ \(F = -3K \left(\frac 1{r^2}\right)\)
To draw graph of F′ versus 1/r2

On comparing above equation with y = mx, where m is the slope
We get, Slope of equation mB = −3K ....(2)
Both charges are of opposite sign, therefore they will attract each other, that's why slope is negative.
y = mx is the equation of straight line
From equation (1) and (2), we observe that
Magnitude of slope of B is greater than the magnitude of slope of A
i.e. mB > mA
Hence, graph between F and 1/r2 will be straight line where line B has higher slope than line A as shown in figure above.