Solution to 6