finished section 2 of the w4 d1 exercises