Let's say I have 2 variables $x$ and $y$ and 4 equations. The parameters in capital are known parameters.
$$I_1=xA_1+yB_1$$ $$I_2=xA_2+yB_2$$ $$I_3=xA_3+yB_3$$ $$I_4=xA_4+yB_4$$
What's the strategy to find the best fitting values for $x$ and $y$? What's the name of this topic so I can google it?
You are looking for a technique called "Least-squares regression". This method allows for overdetermined systems (more equations than variables) to be fit to the polynomial that minimizes the sum of the distances (actually the sum of the squared distances) from each point to that polynomial. You specifically want the matrix version that looks like this $$A^TA\vec{x}=A^T\vec{b}$$