Function and inverse function
Complete the following question:
If the functions f(x) and g(x) are defined by the table below and if z(x)=g(f(x)), then what is the value of z^-1 (1)? (Use table below)
x 1 2 3 4 5 6 7 8 9 10
f(x) 10 1 8 2 6 3 4 9 5 7
g(x) 7 8 9 10 1 2 3 4 5 6.