You can put this solution on YOUR website! The degree of a term is the sum of the exponents of the variables in the term. If there is just one variable, then the degree is simply the exponent of the variable. If the term has no variables, then its degree is 0.
The degree of a polynomial is equal to the highest degree of its terms.