For d(2xexcsc x)/dx, first take the derivative of 2xex equal to 2ex+2xex.
Next, with the derivative of csc x being the derivative of 1/sin x, write d(csc x)/dx
equals [sin x(0) - (1)cos x]/sin2x or -cos x/sin2x or -cot x(csc x).
Finally, obtain d(2xexcsc x)/dx as d(2xex)/dx Times csc x + 2xex Times d(csc x)/dx
which equals (2ex+2xex)csc x + 2xex(-cot x•csc x) or csc x(2ex+2xex-2xexcot x)
or 2excsc x(1+x-xcot x).