Solution to 4.