Answer :

The given functions are

[tex]\begin{gathered} f(x)=x^2-15 \\ g(x)=4x-4 \end{gathered}[/tex]

To find the first composition, we have to replace the x-variable of f(x) with the function g(x).

[tex](f\circ g)(x)=(4x-4)^2-14[/tex]

Then, use the notable product to simpligy.

[tex](f\circ g)(x)=16x^2-32x+16-14=16x^2-32x+2[/tex]

So, the first composition is

[tex](f\circ g)(x)=16x^2-32x+2[/tex]

The domain of g(x) is all real numbers because it's a polynomial function. Also, the range of g(x) is all real numbers, which means the domain of the first composition is all real numbers.

The domain of the first composition is

[tex]D_{(f\circ g)(x)}=(-\infty,\infty)[/tex]

Let's find the second composition and its domain. Repeat the process, substitute the x-variable of g(x) with the function f(x).

[tex](g\circ f)(x)=4(x^2-15)-4[/tex]

Use the distributive property.

[tex](g\circ f)(x)=4x^2-60-4=4x^2-64[/tex]

Therefore, the second composition is

[tex](g\circ f)(x)=4x^2-64[/tex]

The domain of f(x) is all real numbers but its range is all real numbers greater than or equal to zero. This means the domain of the second composition can take just positive numbers including zero because that's the range of f(x).

Therefore, the domain of the second composition is

[tex]D_{(g\circ f)(x)}=\lbrack0,\infty)[/tex]