A mathematical problem of function Given that f (x) is an odd function, G (x) is an even function, and f (- 1) + G (1) = 2, f (1) + G (- 1) = 4, then G (1) =?

A mathematical problem of function Given that f (x) is an odd function, G (x) is an even function, and f (- 1) + G (1) = 2, f (1) + G (- 1) = 4, then G (1) =?

If f (x) is an odd function, then
f(-1) = -f(1)
If G (x) is an even function, then
g(-1) = g(1)
f(-1) + g(1) = 2 = -f(1) + g(1)
f(1) + g(-1) = 4 = f(1) + g(1)
Two formulas are added, 2g (1) = 6
g(1) =3