A function `f : \mathbb{R} -> \mathbb{R}` is defined by `f(x)=(x-1)(x-2)`. Then which of the following is true? (a) function is one-one but not onto,  (b) function is onto but not one-one,  (c) function is neither one-one nor onto,  (d) function is one-one and onto.