The correct option is D x2+2xy+y2
Among the given options,x has one term in it, and it is a monomial.
ab has two variables. But the number of terms is just one. Hence it is a monomial.
a+b is a binomial as it has two unlike terms.
x2+2xy+y2 has three unlike terms and hence it is a trinomial.