solutions to midterm 3 2012 5048669