solution for problem two exam two fall 2012 9809640