Problem: First- and second derivative test

Problem

Solution