\(\dfrac{x+1}{\left(x-1\right)\left(x-2\right)}=\dfrac{\left(x+1\right)\left(x+2\right)}{\left(x-1\right)\left(x-2\right)\left(x+2\right)}=\dfrac{x^2+3x+2}{\left(x-1\right)\left(x-2\right)\left(x+2\right)}\)
\(\dfrac{x+3}{\left(x-1\right)\left(x+2\right)}=\dfrac{\left(x+3\right)\left(x-2\right)}{\left(x-1\right)\left(x+2\right)\left(x-2\right)}=\dfrac{x^2+x-6}{\left(x-1\right)\left(x+2\right)\left(x-2\right)}\)