Hello, let's note

So we can put (x-1) in factor. We are looking for a and b such that

We identify the like terms, it comes
a-1=-3 <=> a = -2
b-a=1 <=> b = 1 + a = -1
2-b=3
So it comes.

And we can go further using the same method to find that

The sum of the zeroes is 1=2-1 and the product is -2=(-1)*2, so, we can factorise.

The sign of f(x) is the same as the sign of (x+1)(x-2) as a square is always positive.
To find the sign of a product, we can apply the following.
"- multiplied by - gives +"
"+ multiplied by + gives +"
"- multiplied by + gives -"
"+ multiplied by - gives -"
This is this what we are doing below.
![\begin{array}cx&-\infty&&-1&&2&&+\infty\\---&---&---&---&---&---&---&---\\x+1&-&-&0&+&3&+&+\\---&---&---&---&---&---&---&---\\x-2&-&-&-3&-&0&+&+\\---&---&---&---&---&---&---&---\\f(x)&+&+&0&-&0&+&+\\\end{array}]()
So, to answer the question

Thank you.