Solution to Question 3