I will do the second one. Use the quotient rule: d/dx (u(x)/v(x)) = (vdu/dx-udv/dx)/v2
Her du/dx = 2x + -3x-2 and dv/dx = 2x
The derivative of the quotient is (x2+1)(2x-3x-2) - (x2+x-3)(2x))/(x2+1)2
You can multiply it all out if you want... or you can use Wolfram alpha calculator and type derivative of... (good place to check answers)