
Bradford T. answered 08/18/21
Retired Engineer / Upper level math instructor
Since the first term of the composite function is 27x3, then g(x) will be in the form of 3x+y.
Where y = a constant that needs to be determined. Substituting 3x+y into f(x) for x,
(3x+y)3-5(3x+y)2+3x+y-7
You don't need to multiply this out to realize,
y3-5y2+y-7 must equal -2.
Using synthetic division to factor y3-5y2+y-5,
(y-5)(y2+1)=0 -->y = 5
Therefore,
g(x) = 3x+5
f(g(x)) = 27x3+90x2+78x-2

Adam B.
08/18/21