Let us define the term,
The degree of a polynomial is the highest of the degrees of the polynomial's monomials (individual terms) with non-zero coefficients.
Let us write out the given expression,
From the given equation, the highest degree of the polynomial is 2.
Hence, option D is the correct answer.