Consider the two cases shown. In both cases a central charge q has two charges of equal magnitude at equal distances above and below it. In case 1 the signs of the two outer charges is opposite, and in case 2 they are both positive. You are not told the sign of the charge in the center q.