### First and second partial derivatives

The problem is: Z = X COS Y - Y COS X I am to find all of the first and second partial derivatives of this problem. Will you please solve this problem in detail so that I may use the method you show to solve similar problems?