Problem 2 and 3 extra solutions