## Precalculus: Concepts Through Functions, A Unit Circle Approach to Trigonometry (3rd Edition)

$(x+2)(3x-1)$
By grouping the first two terms and the second two terms and then taking common factors, we have $$3x^2 + 6x - x - 2=3x(x+2)-(x+2)=(x+2)(3x-1) .$$