
Using kirchhoff's law in the circuit ACDB, we get
Voltage at B= voltage at A + voltage of battery of 1V + potential difference across 2Ω resistance - voltage of battery of 2V
⇒VA+1+2(1)−2=VB
Now potential at point B with respect to point A is given by,
⇒VB−VA=1V
