This looks like a function composition problem, although the way that it is written is not quite correct.
By f(x)g and g(x)f, I assume that you mean f(g(x)) and g(f(x)). This could also be written as f ∘ g and g ∘ f in most textbooks. Here is how you can solve a problem like this one.
Let f(x) = 4x + 4 g(x) = x4
Then f ∘ g = f(g(x)) = f(x4) = 4x4 + 4
and g ∘ f = g(f(x)) = g(4x + 4) = (4x + 4)4
Let f(x) = √(x2+5) g(x) = x2 + 3
Then f ∘ g = f(g(x)) = √((x2 + 3)2+5)
If necessary, you could expand this out to simplify slightly more
√((x2 + 3)2+5) = √(x4 + 6x2 + 9 + 5) = √(x4 + 6x2 + 14)
and g ∘ f = g(f(x)) = x2 + 3 = (√(x2+5))2 + 3 = x2 + 5 + 3 = x2 + 8