x=1 is a local maximum and x=2 is a local minimum.
c) Solution using concavity and second order derivative:
The second derivative of f is: