<s>[INST] Evaluate the double integral. 
To find:

$$\iint_R(x^2-xy)dA$$

enclosed by

$$y=x, y=3x-x^2,$$
$$x=3x-x^2,$$
$$x=0, x=2,$$
$$y=0, y=2,$$
$$R=((x,y): 0\le x\le 2), (x \le y \le 3x-x^2)$$
$$\int_0^2\int_x^{3x-x^2}(x^2-xy)\,dy\,dx$$
$$\int_0^2 \left. \left(x^2y-x\frac{y^2}{2}\right) \right|_x^{3x-x^2}\,dx$$

where to from here?

 [/INST] Given your domain, let's first make a small correction:
\begin{align}
R &= \left\{(x,y) \in \mathbb{R}^2: 0 \leq x\leq 2, x \leq y \leq 3x-x^2 \wedge 2  \right\} \\
&= \left\{(x,y) \in \mathbb{R}^2: 0 \leq x\leq 1, x \leq y \leq 3x-x^2   \right\} \\
&\qquad\cup \left\{(x,y) \in \mathbb{R}^2: 1 < x \leq 2, x \leq y \leq 2   \right\}
\end{align}
So,
\begin{align}
I
&= \int_R x^2 - xy \;\mathrm{d}A\\
& = \int_0^2 \int_x^{3x-x^2 \wedge 2} x^2 - xy \;\mathrm{d}y\,\mathrm{d}x \\
%
%
&= \int_0^1 \int_x^{3x-x^2} x^2 - xy \;\mathrm{d}y\,\mathrm{d}x +
   \int_1^2 \int_x^{2} x^2 - xy      \;\mathrm{d}y\,\mathrm{d}x \\
%
%
&= \int_0^1 x \left[x y - \frac{y^2}{2} \right]_{x}^{3 x-x^2} \;\mathrm{d}x +
   \int_1^2 x \left[x y - \frac{y^2}{2} \right]_{x}^{2}       \; \mathrm{d}x \\
%
%
&= \int_0^1 \left(- 2 x^3 + 2 x^4 -\frac{x^5}{2} \right) \;\mathrm{d}x +
   \int_1^2 \left(-2 x +2 x^2 -\frac{x^3}{2}  \right)   \;\mathrm{d}x \\
%
%
&= \left[-\frac{x^4}{2}+\frac{2 x^5}{5}-\frac{x^6}{12} \right]_0^1 +
   \left[-x+\frac{2 x^3}{3}-\frac{x^4}{8} \right]_1^2 \\
%
%
&= \left(-\frac{11}{60} \right) +\left(-\frac{5}{24}\right)\\
%
%
&= -\frac{47}{120}
\end{align}
</s>