You can put this solution on YOUR website! (x-1)/(x2-3x+2)
factor the denominator into (x-1)(x-2)
Now rewrite as (x-1)/(x-1)(x-2)
The (x-1) cancel, and it is 1/(x-2)
Note: the function is undefined at x=2 and has a "hole" at x=1, where it is also undefined.