Try converting to the polar coordinate system, simplifying, and then converting it back into Cartesian coordinates. This should get rid of that nasty square root and make the partial differentiation easier.