Completing problem 2 as far as possible.