In this Section, we will write equations for what we want to optimize, and then we will find the maximum or minimum.