how to multiply a polynomials by monomials?