We'll first need to determine what the composite function f(g(x)) is equal to.
Start with the outer function f(x). Then replace every copy of x with g(x). Afterward, plug in g(x) = 3x-2
So we get the following:
Next, we apply the derivative
Don't forget about the chain rule. The chain rule is applied in step 3 of that block of steps shown above.
The last thing we do is plug in x = 3 and simplify.
Side note: if you choose to rationalize the denominator, then you'll multiply both top and bottom by sqrt(5) to end up with
; however, your teacher has chosen not to rationalize the denominator.