How to multiply polynomials