Find the quadratic polynomial