,

Set up the composite result function.

Evaluate by substituting in the value of into .

Factor out of .

Cancel the common factor.

Rewrite the expression.

To write as a fraction with a common denominator, multiply by .

Combine and .

Combine the numerators over the common denominator.

Multiply by .

Subtract from .

Find f(g(x)) f(x)=2x-8 , g(x)=(x+2)/8