GlobalExtrema[x^3 + 6 x^2 + 12 x + 6, {x}]