The Question
Given, $AB$, $AC$ and $BC$. $DE$ is parallel to $BC$. The area ratio between $\triangle ADE$ and $\triangle BDEC$ is also provided. How can I find $AD$?
My Understanding
I know that $\frac{AD}{AB}=\frac{AE}{AC} =\frac{DE}{BC}$ in this problem.

I did it this way:
Calling that if a triangle (and any 2D polygon) is scaled by a factor $\alpha$ then its surface is scaled by a factor $\alpha^2$ then we have that \begin{equation} ADE=\left(\dfrac{AD}{AB}\right)^2\cdot ABC. \end{equation} Also, we can write the surface $ABC$ using the ratio $ADE/BDEC$ given in the following way: \begin{equation} ABC=ADE+ADE\cdot\left(\dfrac{BDEC}{ADE}\right)=ADE\cdot\left(1+\dfrac{BDEC}{ADE}\right). \end{equation} Joinng both equations we have that \begin{equation} ADE=\left(\dfrac{AD}{AB}\right)^2ABC=ADE\left(\dfrac{AD}{AB}\right)^2\left(1+\dfrac{BDEC}{ADE}\right). \end{equation} Now, since $ADE\not=0$ (otherwise, the exercise is trivial!) we get that \begin{equation} 1=\left(\dfrac{AD}{AB}\right)^2\cdot\left(1+\dfrac{BDEC}{ADE}\right). \end{equation} Solving for $AD$ we end up with \begin{equation} AD=\dfrac{AB}{\sqrt{1+\dfrac{BDEC}{ADE}}}. \end{equation} Note: Notice that although we divided by $ADE$ in some equations, the final formula does not depend on its value (but in its ratio with $BDEC$, which is given).