Find the average distance from the origin to the points

(1) in the ball

(2) in the ball

I need help setting up the problem. I'm not sure where to begin here.

EDIT: For (1), I worked backwards from the answer,

, to find a setup for the problem, but I'm not sure if I understand the meaning of the setup:

Since I'm using polar coordinates, r is the Jacobian. And since I am finding the average distance from the origin to all the points in the ball, I want to add up all of those distances, r, in the integral and then divide by the volume of the ball. Does that explain that the setup?

For part (2), should I be using the same approach, but in spherical coordinates?

That is: