I can't for the life of me figure out this problem. There's not example in my textbook.
I'm suppose to convert this into a polar integral and evaluate it
$$\int_0^6 \int_0^y x \;dx \;dy$$
I have my graph for this, but the upper bound of the y-axis I have no clue on how to convert that into polar


Notice that the domain is the triangle with vertices $\ (0,0),(0,6),(6,6),$ because the inner integral tells you that you must integrate from $\ x=0$ to $\ x=y$ $$\ \int_0^6 \int_0^y x dxdy=\int_{\pi/4}^{\pi/2}\int_0^{6/\sin \theta} \rho^2\cos (\theta) d\rho d\theta =$$ $$\ =\int_{\pi/4}^{\pi/2}\cos (\theta)\frac{6^3}{3 \sin^3\theta}d\theta=\frac{6^3}{3}\int_{1/\sqrt2}^{1}t^{-3}dt=\frac{6^3}{3}\bigg(-\frac{1}{2}+1\bigg)=\frac{6^3}{3\cdot 2}=36$$