ΔABD~ΔBDC(g.g) =>\(\frac{AB}{BD}=\frac{BD}{CD}\)=> AB.CD= BD2
=> AB(25-AB)= 144 => (AB-9)(AB-16)=0
=> \(\left[{}\begin{matrix}\left\{{}\begin{matrix}AB=9cm\\CD=16cm\end{matrix}\right.\\\left\{{}\begin{matrix}AB=16cm\\CD=9cm\end{matrix}\right.\end{matrix}\right.\)