Find $g'(f(2)),$ given $f(x)=\sqrt{x^2+5}$ and $g(x)=x^2+x$.
My first step was to find $g(f(x)),$ simplify if possible, then find the derivative $g'(f(x)).$ After I did this, I substituted $2$ for $x.$
A few other students we were saying to find the $g'(x),$ then find $f(2),$ then plug it into $g'(x).$ This also makes sense to me but I'm really unsure.
The notation $g'(f(2))$ means the function $g'$ evaluated at the point $f(2)$. So the other students are right.