Let R be the region enclosed by f(x) = x^2 + 2 and g(x) = (x - 2)^2. What is the volume of the solid produced by revolving R around the x-axis and then the y-axis?