527_midterm_18-sol.pdf