
Now f(x1) = f(x2)
= x1 = x2
so f(x) is one - one
For onto

x = 3(y + 1)/(y - 2).......(2)
equation (2) is defined for all real values of y except 2
i.e y ∈ R − { 2 } which is same as given set B = R − { 2 }
(co-domain = range)
Also y = f(x)
f(x) = f{3(y + 1)/(y - 2)}

(since f(x) = (2x + 3)/(x - 3)
2(3y + 3) + 3(y - 2)/ 3y + 3 - 3y + 6 = 9y/9 = y
Thus for every y ∈ B, there exists x ∈ A such that f ( x ) = y
Thus function is onto. Since f ( x ) is one -one and onto so f ( x ) is invertible.
Inverse is given by x = f -1(y) = 3(y + 1)/(y - 2)