Mathematics puzzle from my calculus text book.

Answer:
[tex]{ \tt{g(x) = a {x}^{2} + bx + c = 0 }} \\ { \tt{f(x) = {a'x}^{2} + b 'x + c' = 0}} \\ { \boxed{ \bf{f(g(x)) = g(f(x))}}} : \\ { \tt{ =( \frac{a}{a'})x {}^{2} + ( \frac{b}{b'}) x} + \frac{c}{c'} } = 0[/tex]