The potential difference VA-VB between the points A and B in the given figure is
-3V
+3V
+6V
+9V
VAB=VA-VB=2×2+3+1×2=9 V