when we find the partial derivative with respect to, say x, we treat all other variables as constants.
let me do for you. you do the rest
Now means we find the second derivative of r with respect to x
based on what you said the answer was, you may be looking for it in a different form.
you may want to write:
and then use the chain rule