week 15 homework, questions 1 and 2