To find the value of f(g(2)), we need to substitute the value of 2 into g(x) and then substitute the result into f(x).
First, let's find the value of g(2):
g(x) = 2x + 1
g(2) = 2(2) + 1
g(2) = 4 + 1
g(2) = 5
Now that we know g(2) = 5, let's substitute this value into f(x):
f(x) = 3x + 1
f(g(2)) = f(5)
f(g(2)) = 3(5) + 1
f(g(2)) = 15 + 1
f(g(2)) = 16
Therefore, the value of f(g(2)) is 16.