homework 6 exercise 1 part b