I am preparing for an exam and doing some pratice problems. So I'm having a difficult time with this problem. At first I thought the ratio was 2:1 and then I also thought I would be able to use the angle bisector theorem but then I realized that cevians could be altitudes, medians or angle bisectors. So theorems are not helpful with this problem.
Basically, I asked my teacher for help and he told me that the answer is
EF:FC is $10:7$
and DF:FA is $3:14$
I've been trying to find out how he got these ratios but i'm not getting anywhere. Any ideas?


A general method to solving these kinds of things is through the Ratio Lemma, which is often applied in high school olympiad geometry. It states that if $AD$ is a cevian in $\triangle ABC$, then $\dfrac{BD}{DC}=\dfrac{AB}{AC}\cdot\dfrac{\sin\angle BAD}{\sin\angle CAD}$. The proof of this is quite simple; just apply the sine law to triangles $ABD$ and $CAD$.
So for this problem, the ratios $\sin\angle BAD:\sin\angle CAD$ is clearly equal to $\sin\angle EAF:\sin\angle CAF$. So $EF:FC$ is equal to $(BD/DC)(AE/AB)=10/7$. $DF:FA$ is calculated similarly.
The Ratio Lemma can also be used to prove many basic facts in projective geometry; e.g. the invariance of the cross-ratio when projected through a point onto a line.