Recall that the composition of functions \( (f \circ g)(x) \) means you substitute \( g(x) \) into the function \( f \). So, start by writing \( (f \circ g)(x) = f(g(x)) \).
Recall that \( \sqrt{a^2} = |a| \), so \( \sqrt{(x - 2)^2} = |x - 2| \). Depending on the domain, this can simplify further to \( x - 2 \) if \( x \geq 2 \).
Next, for \( (g \circ f)(x) = g(f(x)) \), substitute \( f(x) \) into \( g \): \( g(f(x)) = (f(x) - 2)^2 - 4 = (\sqrt{x + 4} - 2)^2 - 4 \). Expand the square and simplify to express the composition in terms of \( x \).