\(3x^2-5x-2\\ =3x^2-6x+x-2\\ =3x\left(x-2\right)+\left(x-2\right)\\ =\left(x-2\right)\left(3x+1\right)\)
\(3x^2-5x-2\)
\(=3x^2+x-6x-2\)
\(=x\left(3x+1\right)-2\left(3x+1\right)\)
\(=\left(x-2\right)\left(3x+1\right)\)
\(3x^2-5x-2\)
\(=\left(3x^2-6x\right)+\left(x-2\right)\)
\(=3x\left(x-2\right)+\left(x-2\right)\)
\(=\left(x-2\right)\left(3x+1\right)\)