Mathematics 120 Midterm 1, solutions