<s>[INST] Why does $\frac{(x^2 + x-6)}{x-2} = \frac{(x+3)(x-2)}{x-2}$? I'm not the best at algebra and would be grateful if someone could explain how you can get from, 
$$\frac{x^2 + x-6}{x-2}$$
to,
$$\frac{(x+3)(x-2)}{x-2}$$
 [/INST] \begin{align}
x^2+x-6 = x^2 + \underbrace{3x - 2x} - 6 & = \underbrace{x^2+3x}+\underbrace{{}-2x-6} \\[8pt]
& = x(x+3) + (-2)(x+3) \\[8pt]
& = x(\cdots\cdots) + (-2)(\cdots\cdots) \\[8pt]
& = x(\cdots\cdots) -2(\cdots\cdots) \\[8pt]
& = (x-2)(\cdots\cdots) \\[8pt]
& = (x-2)(x+3).
\end{align}
</s>