Solution to 3.9