URGENT HELP NEEDED!!!!!!!!!!!

Given f(x)=xsquare-4, g(x)=x-1, and h(x)=3x+1

1. f(g(h(x))) and 2. g(h(f(x)))

Incase you can't answer number 2, can u just write a step to do like the others. Thank you very much i appreciate it. There is no square symbol so i had to write it out. I have others questions on other harder topics but their are no symbols to be used so do you know how i can get to type it on.

URGENT HELP NEEDED!!!!!!!!!!!

Given f(x)=xsquare-4, g(x)=x-1, and h(x)=3x+1

1. f(g(h(x))) and 2. g(h(f(x)))

Hello Dear here we go

we have f(g(h(x)))
Step 1

Put h(x) as x in g(x)

so we have

g(h(x)) = (3x+1)-1
g(h(x)) = 3x+1-1
= 3x
Step 2

Put this value as x in f(x)

f(x) = x^2 - 4

f(g(h(x))) = (3x)^2 -4
= 9x^2 -4

Answer

For question 2 g(h(f(x)))

Follow the same process but with following modification

Step 1
Put f(x) as x in h(x) then solve

Step 2

Put value we get in step 1 as x and put it in g(x)

Try and you would get the answer