In the figure, potential difference between A and B is:
zero
15V
10V
5V
Diode is in forward bias, so it will behave as conducting wire, so
Two 10kΩ are in parallel and in series with third 10kΩ. Using voltage distribution, Vab=R1R1+R2×E=55+10×30=10V