compute the degree of x^2yz-x^5