Problem Solving Using the AM-GM Inequality