The equation is .
Apply first derivative with respect to x.
Apply second derivative with respect to x.