Do problem 6