Let f : R → R be defined as f(x) = 2x - 1
and g : R {1} → R be defined as
g(x) = (x - 1/2) / (x - 1).

Then the composition function f(g(x)is:

A. Both one-one and onto
B. onto but not one-one
C. Neither one-one nor onto
D. one-one but not onto