Find the value of x such that AB=BC where the coordinates of A, B and C are (2,1), (x,0) and (−2,−1) respectively.
If a and b are the zeroes of x2 -p(x+1)+c such that (a+1)(b+1)=0, then find the value of c