Question 940032
{{{ f(x)= x^3}}}
 {{{ g(x) =x^2-x+1}}}
  fog =  f(g(x))
 ={{{ f(x^2-x+1)}}}
  replace x with  (x^2-x+1)
 ={{{ (x^2-x+1)^3}}}
fog ={{{(x^2-x+1)^3}}}
domain: for all values of x, the above function is valid
 hence domain  = all real numbers(R)
 gof  = g(f(x))
       =g(x^3)
      replace x with  x^3
  = {{{(x^3)^2-x^3+1}}}
={{{X^6-X^3+1}}}
 domain: for all values of x, the above function is valid
 hence domain  = all real numbers(R)