midterm 1 fix three questions

fix questions 2,3 and