Solution to Problem 5