help fill in the blanks on the second problem i have the answer already

Given equation is,
[tex]g(x)=x^2+3x-10[/tex]Then,
[tex]\begin{gathered} g(f(x))=\lbrack f(x)\rbrack^2+3\lbrack f(x)\rbrack-10 \\ =(x+4)^2+3(x+4)-10 \\ =x^2+8x+16+3x+12-10 \\ =x^2+11x+18 \end{gathered}[/tex]So in the first blank, it will be,
[tex]=(x+4)^2+3(x+4)-10[/tex]And in the second blank it will be,
[tex]undefined[/tex]