problem 11 solution