if you are given a function and then given boundaries of that function(ex z is between 3 and 4 and then y and x defined as functions like y=x and y=x^2) how do I set up triple integral for these boundaries?

I know the basic idea and I figure the z limits would be between 3 and 4 but I'm not sure how to go about calculating the x and y limits, the integration is no problem so any advice would be appreciated.