To solve f(x)= x<sup>3</sup> - 2x<sup>2</sup> - 8x
First factor out x:
f(x) = x(x<sup>2</sup> - 2x - 8)
And factorise the quadratic inside the parentheses.
Relative minima/maxima occur where the derivative:
f'(x) = 3x<sup>2</sup> - 4x - 8 is zero.
So solve 3x<sup>2</sup> - 4x - 8 = 0 for x.
To determine their nature (ie. whether they're a relative maximum or minimum), either use the second derivative test (if f''(x)<0, relative maximum, if f''(x)>0, relative minimum), or test the sign of the first derivative, f'(x), before and after each turning point. This should all be covered in your class notes/textbook.
It is an up-down-up cubic so the relative maximum will occur at the lowest turning point, and the relative minimum will occur at the highest.
Edit: Relative is synonymous with local here.