Two functions f and g are defined on set R of real numbers by:

f: x

x2 – 2x – 1

g: x

x – 1

find the value of x for which f(x) = g(x) – 2