second midterm solutions 5848621