The question:

Form the composition fog and give the domain,

My attempt:

I worked out the domain of f(x) is [-1, 1], and the domain of g(x) is (-inf, inf). Thus fog must have the domain [-1, 1].

However, the answer is:

with domain (-inf, inf)

What am I doing wrong? Thanks!