Find VAB
10 V
20 V
5 V
15 V
Diode is forward bias
Equivalent circuit
Ohm's Law : VAB=1010+20×15 = 5 V