Since DE is parallel to AC the ratio between the sides of the triangles should be the same.
From the small triangle we notice that 4:5; from the big triangle we notice that 10:AC, since this ratios have to be equatl this means that:
Therefore, AC is 12.5 long.
To find AD we use the same principle. In the small triangle we have that 4:2; for the big triangle we have that 10:(2+AD). Then:
Therefore, AD is 3 long.