Respuesta :

We are given the following functions

[tex]\begin{gathered} f(x)=x^2-3x+1 \\ g(x)=5x-7 \end{gathered}[/tex]

Let us first find f(g(x)

Substitute x = 5x - 1 into the function f(x) and simplify

[tex]\begin{gathered} f(g(x))=(5x-7)^2-3(5x-7)+1 \\ f(g(x))=(25x^2-2\cdot5x\cdot7+49)^{}-15x+21+1 \\ f(g(x))=25x^2-70x+49^{}-15x+22 \\ f(g(x))=25x^2-70x-15x+49+22 \\ f(g(x))=25x^2-85x+71 \end{gathered}[/tex]

Now let us find g(f(x))

Substitute x = x² - 3x + 1 into the function g(x) and simplify

[tex]\begin{gathered} g(f(x))=5(x^2-3x+1)-7 \\ g(f(x))=5x^2-15x+5-7 \\ g(f(x))=5x^2-15x-2 \end{gathered}[/tex]

Therefore, f(g(x) and g(f(x)) are

[tex]\begin{gathered} f(g(x))=25x^2-85x+71 \\ g(f(x))=5x^2-15x-2 \end{gathered}[/tex]

RELAXING NOICE
Relax