What have you done so far?

You take the derivative and set it to zero. Solve for x, this will give you all critical points. From here you can look at the second derivative at those points to determine if they are maximums or minimums. If then the point is a maximum. If then the point is a minimum. If then the point is a neither. Don't forget to determine the value .