Use the chain rule: F ( x ) = f ( g ( x ) ) → F ′ ( x ) = f ′ ( g ( x ) ) g ′ ( x ) . {\displaystyle F(x)=f(g(x))\rightarrow F'(x)=f'(g(x))g'(x).}