You can solve this in two ways:
(1).(1). plugging the 44 into g(x)g(x) and then putting what you get from that in to f(x)f(x)
(2).(2). plug g(x)g(x) into f(x)f(x) and then plug in the 44
Option 1:
Plug 44 into g(x)g(x):
g(x) = -2(color(blue)(4))-6 = -8-6 = -14g(x)=−2(4)−6=−8−6=−14
Then plug g(x)g(x) into f(x)f(x):
f(x) = 3(color(blue)(-14))-7 = -42-7 = -49f(x)=3(−14)−7=−42−7=−49
Option 2:
Plug g(x)g(x) into f(x)f(x):
f(x) = 3(color(blue)(-2x-6))-7 = -6x-18-7 = -6x-25f(x)=3(−2x−6)−7=−6x−18−7=−6x−25
Finally plug 44 into our current f(x)f(x):
f(x) = -6(color(blue)(4))-25 = -24-25 = -49f(x)=−6(4)−25=−24−25=−49