Construct the result of the tdwithin function of a segment from the solutions of the quadratic equation found previously.