solution problem 9