homework 4 exercise 3 part a