Extended the approach to coefficients in question 2