F(x)=3x-2/x+1 and g=1-x^2

find f(g(x))?

just substitute for g.

f(g) = (3g-2)/(g+1) = (3(1-x^2)-2)/((1-x^2)+1)
You can simplify that as you will.