Answer:
The correct option is 2.
Explanation:
The given function is

If (x-c) is a factor of a function, then f(c)=0.
In option 1:



Therefore option 1 is incorrect.
In option 2:


Therefore option 2 is correct and (x-1) is a factor of f(x).
In option 3:



Therefore option 3 is incorrect.
In option 4:


Therefore option 4 is incorrect.