If f(x)=-2x+7 and g(x)=x^2 -2 find the general rule for f(g(x))