(x+y+2)(y+1)

To expand the expression (x + y + 2)(y + 1), you can use the distributive property and multiply each term in the first expression by each term in the second expression:

(x + y + 2)(y + 1)
= x(y + 1) + y(y + 1) + 2(y + 1)

Now, apply the distributive property again:

= xy + x + y^2 + y + 2y + 2

Simplify:

= xy + x + y^2 + 3y + 2 + 2y

Therefore, the expanded form of (x + y + 2)(y + 1) is xy + x + y^2 + 3y + 2 + 2y.