An integral of the form \int_{x=a}^b\int_{y= c}^d f(x,y)dydx, that is, with numbers as all four limits of itegration is necessarily over a rectangle in the xy- plane, bounded by the four lines x= a, x= b, y= c, and y= d.
This region of integration has three boundaries- the line y= 0, the line x= 2, and the curve y= x^2. The limits of integration will NOT all be constants since this is not a rectangle. It would be a good idea to graph or at least visualize the graphs of those boundaries.
The first thing you have to do is decide in which order to to integrate. Suppose we decide to integrate in the order "dydx". Since the result must be a number and not depend on x or y, the limits on the outside integral must be numbers. Since we are differentiating with respect to x, and want to cover the entire region, the limits of integration must be the smallest and largest values of x in that region. Here, we see that y= 0 and y= x^2 itersect at (0, 0) while the right boundary is the line x= 2. The lower limit is x= 0 and the right limit is 2.
But now, the limits of integration for y will depend on x! If you have actually drawn the graphs, now draw a vertical line representing a specific value of x (if you visualized the graph visualize the vertical line). You should see that the lower boundary is the line y= 0 and the upper boundary is y= x^2. Your integral should be
\int_{x=0}^2\int_{y= 0}^{x^2} 6xydydx
If, instead, you choose to use the order "dxdy"- that is, integrate with respect to x first, then y, note that the highest point in the region is where y= x^2 intersects x= 2 at the point (2, 4) while the lowest points are on line y= 0. So the "outer integral", with respect to y now, has limits y= 0 and y= 4. To find the x-limits draw, or imagine, a horizontal line at each y-value. x will go from the curve y= x^2, that is, x= \sqrt{y} (we are clearly in the first quadrant so this is the positive square root) on the left to the line x= 2 on the right. The integral will be
\int_{y=0}^4\int_{x=\sqrt{y}}^2 6xy dxdy
It would be a good exercise to do both of those itegrals to so that you really do get the same result.