The correct option is C x=−1
y=f(x) cuts the x-axis at x=−2 and x=1.
Now f′(x) =3x2−3
=3(x2−1) >0
x2−1>0
(x−1)(x+1)>0
x<−1 and x>1
Hence, it is an increasing function in (−∞−1)∪(1,∞)
And therefore it is a decreasing function in the interval (−1,1).
Now f(1)=0 and f(−1)=−1+3+2=4
f′′(x)x=−1<0
Hence, it attains a maximum at x=−1.