Post a brief explanation of how stress affects cognitive functions, including the roles of the amygdala and the prefrontal cortex. Then provide examples of situations when stress affected your attention, memory, problem solving, or decision making. Finally, explain how you might mitigate the effects of stress on cognitive functions.