Find a quadratic polynomial