add and mul polynomials with the other types