homework 3 exercise 3 part d