Determine+the+degree+of+a+polynomial

All number have a degree of 0 and variables have a degree of the power of the exponent.