Question

$$x-1\sqrt{3x^{3}+4x^{2}-5x-2}$$

Evaluate

$-\sqrt{\left(x-1\right)\left(x+2\right)\left(3x+1\right)}+x$

Differentiate w.r.t. x

$\frac{2\sqrt{\left(x-1\right)\left(x+2\right)\left(3x+1\right)}-\left(9x^{2}+8x-5\right)}{2\sqrt{\left(x-1\right)\left(x+2\right)\left(3x+1\right)}}$