Need to find divergence and curl of:

I know divergence is the sum of partials w.r.t x,y, and z. But this looks so complicated! Could somebody walk me thru it?

And for curl am I setting this up correctly?

i(partial P to y - partial N to z) - j(partial P to x - partial M to z) + k(partial N to x - partial M to y)

where F(x) = (M,N,P)

Many thanx.