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

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

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

The first step is to replace the variable x in the function g(x) with the expression within parentheses, like so:

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

Now, substitute the given functions into this equation:

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

Next, simplify the expression by distributing the negative sign to every term within the parentheses:

(f-g)(x) = 3x - 2 - x^2 - 6

Combine the like terms:

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

The expression (f-g)(x) simplifies to -x^2 + 3x - 8.