how to add the polynomials