First, let's find g(4). After we find it, we can substitute the value into [tex]f(x)[/tex].
To find g(4), we need to substitute x = 4 into the function [tex]g(x)[/tex], as shown below:
[tex]g(x) = x^2 - 7[/tex]
[tex]g(4) = 4^2 - 7[/tex]
[tex]g(4) = 9[/tex]
Now that we have found g(4) = 9, we can substitute this value in for [tex]x[/tex] in [tex]f(x)[/tex].
[tex]f(x) = 3x + 1[/tex]
[tex]f(9) = 3(9) + 1[/tex]
[tex]f(9) = 28[/tex]
f(g(4)) is equal to 28.