Solution to Problem 6.