Find the volume of the solid whose base is bounded by the graphs of y= x+1 and y = x2+1 , with the indicated cross sections taken perpendicular to the x-axis.
(a) Squares
(b) Rectangles of height 1