Relating the roots and factors of a quadratic