Trinomial subtraction of Algebra terms