How to solve this problem

you need to plug your g(x) into the function f(x)
f(g(x))= 9(-x+3)-2, then you just distribute the 9 to set in the parentheses
f(g(x))= -9x+27-2, then finally you combine your like terms to get
f(g(x))= -9x+25
F(x)=9X-2
g(x)=-x+3
in f(x), re[place x with g(x) to obtain f(g)(x))
f(g(x)=9g(x0-2
=9(-x+3)-2
-9x+27-2
F(g(x))=-9x+25