如图,在三角形ABC中,AB=2AC,AD平分∠BAC,AD=BD.求证:CD⊥AC