Operations with polynomials and expressions