midterm soln