Use the tables to determine the value of each composite function

to solve this first we need to find out the value of the inside function and then of the outside:
f(g(-7))
first, we need to know g(-7), and from the bottom table we can see is 21
now we replace it:
f(g(-7)) = f(21) and on the top table we see it's -3
so the answer of a is -3
and the same for the others:
b. f(g(-5))
g(-5)= 11
f(g(-5))=f(11)= 6
so b. 6
c. g(f(8)) here we need to see the top table first
f(8)=9
g(f(8))=g(9)= 8
so c. 8
d. g(f(14))
f(14)=3
g(f(14))=g(3)= 15
so d.15