Chain rule/R/x^3+4x^2-1 and y^2-y+2/Confirm/Exercise

Consider and . Determine the derivative of the composite function directly and by the chain rule.