Thank you for the opportunity to help you with your question!
Triangle ABE and Triangle DCF are congruent. This means that all corresponding side lengths are congruent (equal in length). Therefore AE is equivalent to DF because they are corresponding sides on these congruent triangles. The length of DF is DE+EF which is 8+2=10.
Please let me know if you need any clarification. I'm always happy to answer your questions.