If is a function of x, y and z, and I denote for (similar for y and z), then

Now all you have to do is calculate the curl of this vector (i.e. nabla 'cross product' this vector); but remember that both and the three partial derivatives are functions of x, y and z.