Find the volume of a solid whose base is bounded by y=x+1, and y=x^2-1. Whose cross sections are taken perpendicular to the x-axis and are squares.

I think I got it mostly right but I'm just not 100% sure about the setup of the question, once thats done the actual integrals are generally easy enough to solve.