problem 3 solution c