How to subtract and add polynomials