If f(x) = x - 3, g(x) = 3x - 9, and h(x) = x^2-6x+9, then (gf)(2)=

SOLUTION
Given the question in the image, the following are the solution steps to answer the question.
STEP 1: Write the given functions
[tex]\begin{gathered} f(x)=x-3 \\ g(x)=3x-9 \\ h(x)=x^2-6x+9 \end{gathered}[/tex]STEP 2: Find the gf(2)
[tex]\begin{gathered} \left(gf\right)\left(x\right)=g\left(x\right)f\left(x\right) \\ =g\left(2\right)f\left(2\right) \end{gathered}[/tex]Find g(2)
[tex]\begin{gathered} x=2 \\ By\text{ substitution,} \\ g(2)=3(2)-9=6-9=-3 \end{gathered}[/tex]Find f(2)
[tex]\begin{gathered} x=2 \\ By\text{ subsitution,} \\ f(2)=2-3=-1 \end{gathered}[/tex]Find gf(2)
[tex]\begin{gathered} By\text{ multiplication,} \\ =-3\cdot-1=3 \end{gathered}[/tex]Hence, the answer is 3