problem 6 solution added.