AE²=ED×EC
36=x(x+5)
x²+5x-36=0
(x+9)(x-4)=0
x=4,x=-9
DE=4,AC=BC=12
△ADE∽△AEC
AD:AC=AE:CE
AD:12=6:9
AD=8