solutions to midterm one 1201297