Question 828837
{{{g(x)=-3f(x)+2}}}
{{{g(x)=-3(x^2+2x-4)+2}}}  ------ because g is composed of f, so substituted
{{{g(x)=-3x^2-6x+12+12}}}
{{{highlight(g(x)=-3x^2-6x+14)}}}
Graph that if you want.  Might be better to put into standard for to know if opens up or down, and where is vertex, intercepts.


Then you wanted f(x) composed of g(x).
Starting with f(x) definition,
{{{f(x)=x^2+2x-4}}}
'
{{{h(x)=f(g(x))=(-3x^2-6x+14)^2+2(-3x^2-6x+14)-4}}}
{{{9x^4+36x^3-48x^2-168x+196-6x^2-12x+28-4}}}
{{{highlight(h(x)=9x^4+36x^3-54x^2-180x+220)}}}
Lengthy process to try to break that into factors, if it can be done.


g(x)..... graph
{{{graph(300,300, -2,2,-5,20,-3x^2-6x+14)}}}