The electrostatic potential due to the charge configuration ot point P as shown in figure for b<<a is
Here, PA=PC=a,AB=CD=b,PB=PD=√a2+b2
Potential at P is V=14πϵ0[qPA+(−q)PB+qPC+(−q)PD]
=14πϵ0[qa+(−q)√a2+b2+qa+(−q)√a2+b2]
=14πϵ0[2qa−2q√a2+b2]
since, b<<a, so, √a2+b2∼a
V=14πϵ0[2qa−2qa]=0