Midterm 1 solutions.pdf