Xét tam giác ABC: DE // BC (gt).
\(\Rightarrow\dfrac{DE}{BC}=\dfrac{AE}{AC}\left(Talet\right).\)
\(\Leftrightarrow\dfrac{DE}{BC}=\dfrac{AE}{AE+EC}.\)
\(Thay:\) \(\dfrac{x}{12}=\dfrac{6}{6+3}.\Leftrightarrow\dfrac{x}{12}=\dfrac{6}{9}.\Leftrightarrow x=8\left(cm\right).\)