With the above example, the integral wants us to find an area(effectively) so we draw the graph and use geometry to reason that the integral is the area of a rectangle minus the area with the y axis. In other cases you will see from the graph that the area with the y axis is the same as the area with the x axis, so you wont need to minus here, but by drawing the graph you will easily see why.
For volumes...i guess you just have to look at the graph and imagine it rotating about an axis to get the desired shape, like if you rotate y=x around the x axis, it will be a cone, i dont think there is much more to it, but with practice you will be able to imagine what the volume looks like. And in most cases anyway, knowing the shape wont help as they wont have pre-determined formulas for the volume anyway...