Problem. Find the first derivative of $$ \dfrac {x \left( 1 - 3x \right)}{\sqrt{x-1}} $$
Work. Let $u = x-1$ and $y = \dfrac {(u+1)(-3u-2)}{\sqrt{u}} $
Using the chain rule, I got$$\dfrac{(-9x^2-5x+2)}{(2(x-1)^\frac{3}{2})}$$
But the answer is $$\dfrac{(-9x^2+13x+2)}{\left(2(x-1)^\frac{3}{2}\right)}$$
I'm not sure what I did wrong, maybe something related to the $(-3u-2)$?