(X²+4X+3)/X²+X-6=(X+1)(X+3)/(X+3)(X-2)=(X+1)/(X-2)
(X²+4X-5)/(X²-3X+2)=(X+5)(X-1)/(X-1)(X-2)=(X+5)/(X-2)