The First Derivative Test and the Extreme Values of Functions in Applications of Differentiation