problem 7 solution