Since the segments AE and EB are congruent and DF and FC are congruent, the trapezoid ABCD and EBCF are similar.
Therefore the proportion between the top bases of the trapezoids is the same as the bottom bases of the trapezoids.
So we have:
Finding the roots using the quadratic formula, we have: