$$\int \frac{3x}{x-2}\,dx$$
The answer is $3(2\ln|x-2|+x)+C\,$, but I don't understand how this is the answer. I thought I could just separate the $x$ on the numerator from the equation and evaluate them separately to get $$\frac{3x^2\ln\left|x-2\right|}{2}$$ as the answer. Why doesn't my approach work?
Hint: try writing the numerator instead as $3x-6+6$ and break it into two nice terms.
Alternatively, try a change of variable $u = x-2$.