let f(x)=3x-2 and g(x)=x squared+6 use them (f-g)(x)

To find the expression for (f-g)(x), we need to subtract the function g(x) from f(x).

Given:
f(x) = 3x - 2
g(x) = x^2 + 6

To subtract g(x) from f(x), we can simply subtract each term of g(x) from the corresponding term of f(x).

(f-g)(x) = f(x) - g(x)

Substituting the given expressions:

= (3x - 2) - (x^2 + 6)

Now we can perform the subtraction:

= 3x - 2 - x^2 - 6

Rearranging the terms:

= -x^2 + 3x - 2 - 6

Simplifying further:

= -x^2 + 3x - 8

Therefore, (f-g)(x) = -x^2 + 3x - 8.