Solution to Problem 3.