To simplify the expression (x+2)(x-1), you can use the distributive property of multiplication.
First, distribute the x term from the first factor to both terms in the second factor: (x+2)(x-1) = x(x-1) + 2(x-1)
Next, simplify each term: x(x-1) = x^2 - x 2(x-1) = 2x - 2
Now, combine the simplified terms: (x+2)(x-1) = x^2 - x + 2x - 2
Finally, combine like terms if applicable: (x+2)(x-1) = x^2 + x - 2
