Redistribution of charges takes place.Charge q1=3μCCharge q2=8μCWhen third charge q3=−5μC is added to each, then new charges on q1 and q2 will be q1′=3−5=−2μCand, q2′=8−5=3μCNow,In first case, 40=4πε01⋅r23×8In second case, F=4πε01×r2(−2×3)∴40F=3×8−2×3 or F=−10N