In the network shown, potential of point A is
-12 V
-10 V
2 V
-8 V
i=122+10A=1A
Now, VD−10×i=VA
⇒VA=−10×1V=−10V