x+2 x+2

--- Divided by ---
x-5 x-1

To divide the expression (x+2)/(x-5) by (x+2)/(x-1), you can follow these steps:

1. To divide fractions, you can multiply the first fraction by the reciprocal of the second fraction.

Reciprocal of (x+2)/(x-1): (x-1)/(x+2)

So, we can rewrite the division as multiplication:
(x+2)/(x-5) * (x-1)/(x+2)

2. Next, we can simplify the expression by canceling out common factors between the numerators and denominators.

(x+2) in the first fraction cancels out with (x+2) in the second fraction, leaving us with:
(x-1)/(x-5)

Therefore, the division of (x+2)/(x-5) by (x+2)/(x-1) simplifies to (x-1)/(x-5).