Given the functions below
[tex]\begin{gathered} g(x)=3x-4 \\ h(x)=x^2+1 \end{gathered}[/tex]To find the composite function g(h(x)), we will substitute the whole of h(x) as x in the function g(x). This process can be done below
[tex]\begin{gathered} g(h(x))=3(hx)-4_{} \\ \text{ Since}h(x)=x^2+1 \\ g(h(x))=3(x^2+1)-4 \end{gathered}[/tex]Simplify the equation above using distributive property of algebra
[tex]\begin{gathered} g(h(x))=3(x^2)+3(1)-4 \\ =3x^2+3-4 \\ =3x^2-1 \end{gathered}[/tex]Hence, the composite function g(h(x)) is
[tex]3x^2-1[/tex]