To find the value of f(g(8)), we first need to calculate g(8) and then use that result to find f(g(8)).
We start with the function g(x):
g(x) = x + 5
Now, we substitute 8 into g(x):
g(8) = 8 + 5 = 13
Next, we will use the result from g(8) to find f(g(8)), or f(13):
f(x) = 3x + 2
Now, we calculate f(13):
f(13) = 3(13) + 2 = 39 + 2 = 41
Therefore, the value of f(g(8)) is 41.