Simplify 2(b+1)-(b+2)(b-1)

Expanding the second term using the distributive property, we get:

2(b+1) - (b+2)(b-1) = 2(b) + 2(1) - (b^2 - b + 2b - 2)

Simplifying further by combining like terms, we get:

2b + 2 - (b^2 + b - 2) = 2b + 2 - b^2 - b + 2

Continuing to simplify, we get:

2b - b + 2b - b^2 + 2 = -b^2 + 4b + 2

So, the simplified expression is:

-b^2 + 4b + 2