To calculate the extrema of f you need the first derivation first:

Solve the equation f'(x) = 0 for x:

Use the substitution . The equation becomes:

Now use the same method to solve this equation as you have done with the first one. Obviously one solution is u = -1. Now calculate the other solutions. Re-substitute to get the values of x.