Homework week 3, questions 2 and 3.