如图,△ABC中,AB=2AC,AD平分∠BAC,且AD=BD,求证CD⊥AC