In the given circuit assuming point A to be at zero potential use Kirchhoff rule to determine the potential at B