The tables of values we have are:
And we are asked to find:

Step 1. The first step is to find g(3).
In g(3) the value of x is given by the number inside the parentheses:

Looking at our table of values for g(x) when the x-value is 3, the g(x) value is:
Thus:

Step 2. Substitute g(3)=5 into the expression:

Step 3. Find f(5).
Now we look at the table for f(x) and find the f(x) value when the x-value is 5:
Thus, the answer is:

Answer: 4