solutions for midterm exam 5543744