Assume we have an arbitrary triangle ABC in x-y plane and we want to integrate a function $f(x,y)$ over surface of this triangle as shown in fig. 1:

We can define another coordination system [x' y'] like this: $$\begin{bmatrix}x\\y\\1\\\end{bmatrix}= \begin{bmatrix}C_{11}&C_{12}&C_{13}\\C_{21}&C_{22}&C_{23}\\0&0&1\\\end{bmatrix}* \begin{bmatrix}x'\\y'\\1\\\end{bmatrix} => \begin{bmatrix}x'\\y'\\1\\\end{bmatrix}= \begin{bmatrix}C_{11}&C_{12}&C_{13}\\C_{21}&C_{22}&C_{23}\\0&0&1\\\end{bmatrix}^{-1}* \begin{bmatrix}x\\y\\1\\\end{bmatrix}$$
In a way that : $$x'_{A'}=0,y'_{A'}=0,x'_{B'}=1,y'_{B'}=0,x'_{C'}=0,y'_{C'}=1,$$ And it will looks like this:

Now i want to define the $$\int _S f(x,y).dS$$ in form of $$\int _{S'} g(x',y').dS'$$ or define g(x',y') in a way that $$\int _S f(x,y).dS=\int _{S'} g(x',y').dS'$$ What exactly i need to know is that what is relation between g(x',y') and other parameters like f(x,y) etc.
Integrating g(x',y') over S' surface is as easy as: $$\int _0^1 \int _0^{1-x'} g(x',y') dy'.dx' $$ and i'm doint this to simplify double integration over triangle easy.
UPDATE:
For example if coordinations of $A, B$ and $C$ are known, and $f(x,y)=5x+2yx$ then what is relation of $g(x',y')$ with known parameters? Is it guaranteed that it have strict relation with known parameters in this specific case?
No inversion of matrices is necessary here.
Denote the vertices of $S$ by ${\bf a}$, ${\bf b}$, ${\bf c}$. Then the map $${\bf g}:\quad (u,v)\mapsto {\bf a}+u({\bf b}-{\bf a})+ v({\bf c}-{\bf a})\ ,$$ which in coordinates appears as $${\bf g}:\quad (u,v)\mapsto\left\{\eqalign{x(u,v)&=a_1+u(b_1-a_1)+v(c_1-a_1) \cr y(u,v)&=a_2+u(b_2-a_2)+v(c_2-a_2)\ ,\cr}\right.\tag{1}$$ obviously maps $S'$ bijectively onto $S$. Therefore the transformation formula for multiple integrals steps into action, and we obtain $$\int_S f(x,y)\>{\rm d}(x,y)=\int_{S'}f\bigl(x(u,v),y(u,v)\bigr)\>\bigl|J_{\bf g}(u,v)\bigr|\ {\rm d}(u,v)\ .$$ In the case at hand the Jacobian determinant is a constant: From $(1)$ we obtain $$J_{\bf g}(u,v)=\det\left[\matrix{x_u&x_v\cr y_u&y_v\cr}\right]=(b_1-a_1)(c_2-a_2)-(c_1-a_1)(b_2-a_2)\ .$$ Therefore we can write $$\int_S f(x,y)\>{\rm d}(x,y)=\bigl|J_{\bf g}\bigr|\>\int_0^1\>\int_0^{1-u}\tilde f(u,v)\ dv\ du\ ,$$ where $\tilde f$ denotes the pullback of $f$ to $S'$: $$\tilde f(u,v):=f\bigl(x(u,v),y(u,v)\bigr)\ .$$ Don't forget taking the absolute value of $J_{\bf g}\>$!