solutions to first midterm 1028313