Let , with as in figure.

has a local minimum on at
has a local maximum on at

You can earn partial credit on this problem.