What is the answer? I'm stuck

Answer:
[tex]g(2)=1[/tex]
Step-by-step explanation:
So first, we know that:
[tex]f(1)=g(1)+1[/tex]
And:
[tex]f(2)=2[/tex]
This means that instead of 1, if we put two in like so:
[tex]f(2)=g(2)+1[/tex]
Then we can substitute the f(2):
[tex]2=g(2)+1\\g(2)=1[/tex]
Therefore, g(2)=1.