given data:
[tex]\begin{gathered} f\mleft(x\mright)=3x-3 \\ g\mleft(x\mright)=x+5 \end{gathered}[/tex]to find:
[tex]f\mleft(g\mleft(x\mright)\mright)\text{ and }g\mleft(f\mleft(x\mright)\mright)[/tex][tex]\begin{gathered} g(x)=x+5 \\ =f(x+5) \\ =3(x+5)-3 \\ =3x+12 \end{gathered}[/tex][tex]\begin{gathered} f(x)=3x-3 \\ =g(3x-3) \\ =(3x-3)+5 \\ =3x+2 \end{gathered}[/tex]