2 Use △AEG∽BCD to find (ya-ye)/(Yb-YC) =1-x 1 and find x1with the function relation.
3 Calculate from x2≤x 1 1-x2≥3.