$\noindent Well first of all, in that example, $f(2-x)$ isn't $2-x^3$, it's $\left(2-x\right)^3$. This indeed has the same area from $0$ to $2$.
$\noindent Let $I = \int _0 ^a f(x)\, \mathrm{d}x$. Let $u=a-x$, then we get $I = \int _a ^ 0 f(a-u) \, \cdot (-1) \, \mathrm{d}u = \int _0 ^a...