Please help me I don't want to fail my AP class, if you could guide me for the couple steps that would be great.

Answer:
[tex]\frac{x-2}{x-1}[/tex] or [tex]1 - \frac{1}{1-x}[/tex]
Step-by-step explanation:
[tex]\frac{x^{2} -x-2}{x^{2} -2x+1}[/tex] * [tex]\frac{x-1}{x+1}[/tex] =
[tex]\frac{(x-2)(x+1)}{(x-1)^{2} }[/tex]* [tex]\frac{x-1}{x+1}[/tex] =
[tex]\frac{x-2}{x-1} * 1[/tex] = [tex]\frac{x-2}{x-1}[/tex]
If you want to simplify even more:
[tex]1 - \frac{1}{1-x}[/tex]