Given, charges on two rings are +Q and -Q, respectively as shown below.
Potential at centre of ring A due to charge on ring A and charge onring B is given as VA​=akQ​−s2+a2​kQ​ Similarly, potential at centre of ring B due to charge on ring B and charge on ring A is given as VB​=−akQ​+s2+a2​kQ​ Potential difference between centre of both the rings is ΔV=VA​−VB​
=a2kQ​−s2+a2​2kQ​=2πε0​Q​(a1​−s2+a2​1​)(∵k=4πε0​1​Nm2C−2) Thus, potential difference between centre of both the rings is 2πε0​Q​[a1​−s2+a2​1​]