The functions are and .
To find substitute the x = 1 in f(x).
.
Therefore, .
To find substitute the x = 2 in g(x).