Thank you for reporting, we will resolve it shortly
Q.
The potential difference between points $A$ and $B$ is
Solution:
$I_{1}=\frac{10}{10}=1\, A$
$I_{2}=\frac{10}{7} A$
$KVL$ from $A$ to $B$
$V _{ A }-6 XI _{1}+3 \times I _{2} $
$= V _{ B }$
$V _{ A }-6+\frac{30}{7} $
$= V _{ B }$
$V _{ A }- V _{ B } $
$=\frac{42-30}{7} $
$=\frac{12 V }{7}$