First, we need to find the limits of integration for the double integral. The triangle enclosed by the lines $y=x, x=0,$ and $x+y=2$ has vertices at $(0,0), (1,1),$ and $(0,2)$. So, we can integrate $x$ from $0$ to $2-y$ and $y$ from $0$ to $2$.
Show more…