If is an edgepoint, then , i.e. . Substitute for in the equation of the line and simplify (multiply through by ) to get the quadratic equation
.
Solve this equation to get the edgepoints and .