I want to find the volume on the right of the plane (the smaller volume).
I think that the torus can be thought of as a volume of revolution of a circle about the z-axis, and that the bounds for integration can be set as y = 23 and y = 27 + 4 or 31. I'm not sure if that would work though.
The parameters of the torus are:
$x = (27+4\cos v)\cos u$
$y = (27+4\cos v)\sin u$
$z = 4\sin v$
And $4$ is the radius of the tube.
