如图,△ABC∽△DAB,AB=8,BC=12,求AD的长.