Answer: D.

Explanation:
We know that a trinomial is a polynomial with three terms.
From all the given options, only option A.
and option D.
are trinomials having three terms .
But option A
does not have any constant term .
On the other hand option D.
has a constant term of 6.
Therefore, the option D.
represents a trinomial with a constant term.