Answer to question 5 for HW 2