problems for midterm exam 523496