Answer:
f(g(-1)) = 22
g(f(-1))=6
Step-by-step explanation:
We are given
[tex]f(x)=5x+2 \\g(x)=3-x[/tex]
We need to find f(g(-1)) and g(f(-1))
Finding f(g(-1))
First we will find f(g(x)) i.e
[tex]f(g(x))=5(3-x)+2\\f(g(x))=15-5x+2\\f(g(x))=-5x+17[/tex]
Now finding f(g(-1)) by putting x=-1
[tex]f(g(x))=-5x+17\\Put \ x=-1\\f(g(-1))=-5(-1)+17\\f(g(-1))=5+17\\f(g(-1))=22[/tex]
So, f(g(-1)) = 22
Finding g(f(-1))
First we will find g(f(x)) i.e
[tex]g(f(x))=3-(5x+2)\\g(f(x))=3-5x-2\\g(f(x))=-5x+1[/tex]
Now finding g(f(-1)) by putting x=-1
[tex]g(f(x))=-5x+1\\Put \ x = -1\\g(f(-1))=-5(-1)+1\\g(f(-1))=5+1\\g(f(-1))=6[/tex]
So, g(f(-1))=6