In rectangle ABCD, ab = 10, BC = 8, fold the rectangle along AC, point d falls at point E, and CE and ab intersect at point F, then the length of AF is

In rectangle ABCD, ab = 10, BC = 8, fold the rectangle along AC, point d falls at point E, and CE and ab intersect at point F, then the length of AF is

Let AF = x, according to the triangle AEC is equal to the triangle ADC, we know that the triangle ADF is equal to the triangle CEF, so according to the Pythagorean theorem x ^ 2 = 8 ^ 2 + (10-x) ^ 2, we can solve x = 8.2