let $T$ be the triangle bounded by the $x$ axis, the $y$ axis, and the line $x+y=1$.
Let $\varphi$ be a continuous function on the interval $[0,1]$, and $m,n\in \mathbb Z^+$, Show that $$\iint_T \varphi(x+y)x^my^n\,dx\,dy=c_{mn}\int_0^1 \varphi(t)t^{m+n+1}\,dt$$ where $$c_{mn}=\int_0^1(1-t)^mt^n\,dt$$
First i tried to evaluate the right hand side integral to get the other one, but the integrand is a bit hard to evaluate, so i did this change of variables $$x=u-v\\ y=v$$ So the equation will be $$\iint_T\varphi(u)(u-v)^m v^m \,du\,dv= c_{mn}\int_0^1 \varphi(t)t^{m+n+1}\,dt $$
you may wanna ask where is the jacobian determinant? it’s equal to $1$.
Despite the change of variables, the integrand is still hard to integrate.
The substitution $x=u-v,y=v$ maps the given triangle $T$ onto $\{(u,v):0\leqslant v\leqslant u\leqslant 1\}$ (well, vice versa), i.e. another triangle.
A substitution that "works" is $x=u(1-v),y=uv$ (the Jacobian is just $u$), which maps the square $\{(u,v):0<u,v<1\}$ onto the interior of $T$, and produces the claimed result after separation of variables.