Making some operations with polynoms