The correct option is C (−∞,−8]∪[−2,∞)
gof(x)=g(f(x))=√(x+5)2−9=√x2+25+10x−9
=√x2+16+10x=√(x+8)(x+2)
Now, for the square root to have a real value, both (x+8) and (x+2) should be positive or equal to zero or both should be negative or equal to zero.
Case 1: When both
x+8≥0 and x+2≥0
=>x≥−8 and x≥−2
=>x≥−2 is the solution for this case
Case 2: When both
x+8≤0 and x+2≤0
=>x≤−8 and x≤−2
=>x≤−8 is the solution for this case.
So, combining these both, we get the domain, x≤−8 and x≥−2