Dividing Polynomials with Multiple Variables