Answer to question 4 for HW 2