To find the composed function f(g(x)) we insert the function g(x) inside the x of the function f(x) like this
[tex]\begin{gathered} f(x)=3x-7 \\ g(x)=10-x^2 \end{gathered}[/tex][tex]\begin{gathered} f(g(x))=3(10-x^2)-7 \\ f(g(x))=30-3x^2-7 \\ f(g(x))=23-3x^2 \end{gathered}[/tex]