If f(x)=2x+3 and g(x)=3x−2 find g(f(g(2)))f(g(f(2))). Express your answer in the form ba.
Solution — click to reveal
We have f(2)=2(2)+3=7 and g(2)=3(2)−2=4, so g(f(g(2)))f(g(f(2)))=g(f(4))f(g(7)). We then have g(7)=3(7)−2=19 and f(4)=2(4)+3=11, so we have g(f(4))f(g(7))=g(11)f(19)=3(11)−22(19)+3=3141.