How can I solve polynomials?