HW3 Solutions