For a quadratic polynomial p(x)=x2+bx+c with roots z1 and z2, the coefficients are given by b=−(z1+z2) and c=z1z2.
Proof. Expand p(x)=(x−z1)(x−z2).