Let the surface for Graph and graphically indicate an orientation for and compute the whole flux through of the field

I can apply the divergence theorem but I'm struggled with the bounds, I don't know the triple integral should look like.

How can be done by using a line integral? I'd have to parametrize the surface, but I'd like to know how to set up the integral!

Any help will be appreciated!