Given:
By substituting \(x=1\) into equations (1) and (2), we get:
\(f(0)=5\)
\(f(1)+f(0)=1\\ f(1)=1−5=−4\)
Next, substituting \(x=2\) into equation (1):
\(f(2)+f(1)=1 \\f(2)=1+4=5\)
We observe that:
Finally, we find:
\(f(g(5))+g(f(5))=f(25)+g(−4)\)
Since 25 is odd, \(f(25)=−4\)
And,
\(g(-4) = (-4)^2 = 16\)
So,
\(f(g(5))+g(f(5))=−4+16=12\)