Substitute the value of f(x) and g(x).
=(X-1)+(x2-2)​