homework 6 exercise 2 part a