Solution to 6.