solutions for first midterm 6200142