Assignment 2 Question 2 Solution