Complete problem 6.