原式=(x+1)³/(x-1)³*(x-5)²/(x-2)³*(x-1)²(x-2)²/(x-5)²(x+1)²
约分
=(x+1)/(x-1)*(x-5)/(x-2)
=(x²-4x-5)/(x²-3x+2)