Calculate the gradient of (x - 4)*Log[x y]