HW 4 Solutions