d/dx (x)(e^xy)(cos2x).

Product rule lets me take the derivative of f(x)g(x). But three functions?

(e^xy)cos(2x)+x(y)e^xy(cos2x)-(2x)(e^xy)sin2x