Question 1170215
<pre>
{{{f(red(g(green(g(x)^"")^""))^"")}}}

First we replace the green g(x) by the right side of g(x), which is x<sup>3</sup>:

{{{f(red(g(green(x^3)^""))^"")}}}

Next we must find {{{red(g(green(x^3)^""))}}}, which means to substitute
x<sup>3</sup> for x in the right side of g(x), which is also x<sup>3</sup>, so we get {{{(x^3)^3}}} which is {{{x^9}}}

So {{{red(g(green(x^3)^""))=x^9}}}

So we substitute x<sup>9</sup> for {{{red(g(green(x^3)^""))}}} in
{{{f(red(g(green(x^3)^""))^"")}}} and get
{{{f(red(x^9))}}}

That means to substitute x<sup>9</sup> for x in the right side of f(x), which
is tan(x) + 1, so the final answer is:

{{{tan(x^9)+1}}}
 
Edwin</pre>