homework 4 problem 1 a