I am trying to integrate the following. I assumed some kind of analytical method is required but I have no idea how.
where $a$ and $b$ are constants and
$g = b*((a-x)g_1 +(a+x) g_2$
$z = b*((a-x)z_1 + (a+x)z_2$
and and $g$, $g1$, $g2$, $f1$, $f2$ and $x$ are variables.The answer would need to be in terms of $g1$, $g2$, $f1$, $f2$.
Thank you in advance.