oh, just a general question how do we know when to stop using the chain rule like in that question

the chain rule says: ........we take the derivative of the inside function once. we don't take the derivative of the derivative of g(x) (that would be g''(x), and that's not in the formula). (the only time we may have to do that is if g(x) itself is a composite function, which was not the case here)

the chain rule says: ........we take the derivative of the inside function once. we don't take the derivative of the derivative of g(x) (that would be g''(x), and that's not in the formula). (the only time we may have to do that is if g(x) itself is a composite function, which was not the case here)