HW problem 2) a) done