Let $f:\mathbb{R}^2\rightarrow \mathbb{R}$, $g:\mathbb{R}^2 \rightarrow \mathbb{R}$ and $h:\mathbb{R}^2 \rightarrow \mathbb{R}$ be twice continuously differentiable functions such that, \begin{align*} f(x_1,x_2)+g(a_1t+x_1,a_2t+x_2)+h(b_1t+x_1,b_2t+x_2) = t^2 \end{align*} and $f(0,0)=g(0,0)=h(0,0)=0$ and $\bf b \neq 0$ and $\bf a \neq b$.
$\textbf{Edit:}$ Assume $a_1b_2=b_1a_2$.
$\textbf{Question:}$ I would be happy if someone is able to (1) find solutions for $f$, $g$, and / or $h$ or (2) find solutions for $g(a_1t,a_2t)$ or $h(b_1t,b_2t)$ or (3) provide some ideas for potential ways to find solutions.
$\textbf{What I've tried:}$ Take first-order partial derivatives with respect to $t$, $x_1$, and $x_2$, \begin{align*} a_1 g_1(a_1t+x_1,a_2t+x_2)+ a_2g_2(a_1t+x_1,a_2t+x_2) +b_1h_1(b_1t+x_1,b_2t+x_2) & \\ +b_2h_2(b_1t+x_1,b_2t+x_2) &= 2t && (1)\\ f_1(x_1,x_2)+g_1(a_1t+x_1,a_2t+x_2)+h_1(b_1t+x_1,b_2t+x_2) &= 0 && (2)\\ f_2(x_1,x_2)+g_2(a_1t+x_1,a_2t+x_2)+h_2(b_1t+x_1,b_2t+x_2) &= 0 && (3) \end{align*} where $g_j(a_1t+x_1,a_2t+x_2)=\left.\frac{\partial g(y_1,y_2)}{\partial y_j}\right|_{(y_1,y_2)=(a_1t+x_1,a_2t+x_2)}$. Substitute (2) and (3) into (1), \begin{align*} (a_1-b_1) g_1(a_1t+x_1,a_2t+x_2)+ (a_2-b_2)g_2(a_1t+x_1,a_2t+x_2) \\ -b_1f_1(x_1,x_2) -b_2f_2(x_1,x_2)&= 2t \end{align*} Let $x_1=x_2=0$. Then, \begin{align*} (a_1-b_1) g_1(a_1t,a_2t)+ (a_2-b_2)g_2(a_1t,a_2t) &=b_1f_1(0,0) +b_2f_2(0,0)+ 2t \\ \frac{dg(a_1t,a_2t)}{dt} -b_1 g_1(a_1t,a_2t)-b_2 g_2(a_1t,a_2t) &=b_1f_1(0,0) +b_2f_2(0,0)+ 2t && (4) \end{align*} Without the term $ -b_1 g_1(a_1t,a_2t)-b_2 g_2(a_1t,a_2t)$ then this would imply that $g(a_1t,a_2t)=c_1t^2+c_2t$. This is why I suspect that the only solutions may be that all the functions are quadratic (but I'm not sure about this). I'm not sure how to approach the problem except for taking derivatives (I also tried taking all second-order partial derivatives, which led to something similar to Equation (4)).