Assume:
$$ f(x) = \sum_{i=0}^k a_i x^k$$
From the three linear system in the question, we can write:
$$ \begin{bmatrix} 5 \\ 10 \\ 2 \\ 37 \end{bmatrix} = \begin{bmatrix} \alpha_0 & \alpha_1 2^1 & \alpha_2 2^2 & \alpha_3 2^3 &\alpha_4 2^4 \\
\alpha_0 & \alpha_1 3^1 & \alpha_2 3^2 & \alpha_3 3^3 &\alpha_4 3^4 \\
\alpha_0 & \alpha_1 (-1)^1 & \alpha_2 (-1)^2 & \alpha_3 (-1)^3 &\alpha_4 (-1)^4 \\
\alpha_0 & \alpha_1 (-6)^1 & \alpha_2 (-6)^2 & \alpha_3 (-6)^3 &\alpha_4 (-6)^4 \\ \end{bmatrix}$$
With our linear system factorisation:
$$ \begin{bmatrix} 5 \\ 10 \\ 2 \\ 37 \end{bmatrix} = \begin{bmatrix} 1 & 2^1 & 2^2 & 2^3 & 2^4 \\
1 & 3^1 & 3^2 & 3^3 &3^4 \\
1 & (-1)^1 &(-1)^2 & (-1)^3 & (-1)^4 \\
1 & (-6)^1 & (-6)^2 & (-6)^3 & (-6)^4 \\ \end{bmatrix} \begin{bmatrix} \alpha_o\\ \alpha_1 \\ \alpha_2 \\ \alpha_3 \\\alpha_4 \end{bmatrix}$$
From the limit condition, $\alpha_4 =3$
$$ \begin{bmatrix} 5 \\ 10 \\ 2 \\ 37 \end{bmatrix} = \begin{bmatrix} 1 & 2^1 & 2^2 & 2^3 & 2^4 \\
1 & 3^1 & 3^2 & 3^3 &3^4 \\
1 & (-1)^1 &(-1)^2 & (-1)^3 & (-1)^4 \\
1 & (-6)^1 & (-6)^2 & (-6)^3 & (-6)^4 \\ \end{bmatrix} \begin{bmatrix} \alpha_o\\ \alpha_1 \\ \alpha_2 \\ \alpha_3 \\\ 3 \end{bmatrix}$$
We could rewrite this system as (by doing some algebra under the hood):
$$\begin{bmatrix} 1 & 2^1 & 2^2 & 2^3 \\
1 & 3^1 & 3^2 & 3^3 \\
1 & (-1)^1 &(-1)^2 & (-1)^3 \\
1 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{bmatrix} \begin{bmatrix} \alpha_o\\ \alpha_1 \\ \alpha_2 \\ \alpha_3 \end{bmatrix} = \begin{bmatrix} 5- 3 \cdot 2^4 \\ 10 - 3 \cdot 3^5 \\ 2 -3 (-1)^4 \\ 37-3(-6)^4 \end{bmatrix} $$
By Crammaz rule:
$$ \alpha_o = \frac{\begin{vmatrix}5- 3 \cdot 2^4 & 2^1 & 2^2 & 2^3 \\
10 - 3 \cdot 3^4 & 3^1 & 3^2 & 3^3 \\
2 -3 (-1)^4 & (-1)^1 &(-1)^2 & (-1)^3 \\
37-3(-6)^4 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix} }{\begin{vmatrix} 1 & 2^1 & 2^2 & 2^3 \\
1 & 3^1 & 3^2 & 3^3\\
1 & (-1)^1 &(-1)^2 & (-1)^3 \\
1 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix} }$$
Let's call,
$$ J= \begin{vmatrix} 1 & 2^1 & 2^2 & 2^3 \\
1 & 3^1 & 3^2 & 3^3\\
1 & (-1)^1 &(-1)^2 & (-1)^3 \\
1 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix}$$
Now consider the numerator, from an almost unbelievable simplification by Zhang (see this post), we can write it as:
$$\begin{vmatrix}5- 3 \cdot 2^4 & 2^1 & 2^2 & 2^3 \\
10 - 3 \cdot 3^4 & 3^1 & 3^2 & 3^3 \\
2 -3 (-1)^4 & (-1)^1 &(-1)^2 & (-1)^3 \\
37-3(-6)^4 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix} = \begin{vmatrix} 2^4 & 2^1 & 2^2 & 2^3 \\
3^4 & 3^1 & 3^2 & 3^3 \\
(-1)^4 & (-1)^1 &(-1)^2 & (-1)^3 \\
(-6)^4 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix}\cdot (-3)+\begin{vmatrix}2^2 & 2^1 & 2^2 & 2^3 \\
3^2 & 3^1 & 3^2 & 3^3 \\
(-1)^2 & (-1)^1 &(-1)^2 & (-1)^3 \\
(-6)^2 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix} +\begin{vmatrix}1 & 2^1 & 2^2 & 2^3 \\
1 & 3^1 & 3^2 & 3^3 \\
1 & (-1)^1 &(-1)^2 & (-1)^3 \\
1 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix}
$$
The second determinant is zero, and simplify the first one.
$$\begin{vmatrix}5- 3 \cdot 2^4 & 2^1 & 2^2 & 2^3 \\
10 - 3 \cdot 3^4 & 3^1 & 3^2 & 3^3 \\
2 -3 (-1)^4 & (-1)^1 &(-1)^2 & (-1)^3 \\
37-3(-6)^4 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix} = -3 \cdot 2 \cdot -1 \cdot -6 \begin{vmatrix} 2^3 & 1 & 2^1 & 2^2 \\
3^3 & 1& 3^1 & 3^2 \\
(-1)^3 & 1 &(-1)^1 & (-1)^2 \\
(-6)^3 & 1 & (-6)^1 & (-6)^2 \\ \end{vmatrix}+\begin{vmatrix}1 & 2^1 & 2^2 & 2^3 \\
1 & 3^1 & 3^2 & 3^3 \\
1 & (-1)^1 &(-1)^2 & (-1)^3 \\
1 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix}
$$
Rearranging the columns of first expression in sum,
$$\begin{vmatrix}5- 3 \cdot 2^4 & 2^1 & 2^2 & 2^3 \\
10 - 3 \cdot 3^4 & 3^1 & 3^2 & 3^3 \\
2 -3 (-1)^4 & (-1)^1 &(-1)^2 & (-1)^3 \\
37-3(-6)^4 & (-6)^1 & (-6)^2 & (-6)^3 \\ \end{vmatrix} = 3 \cdot 2 \cdot 1 \cdot 6 J+J= ( 3 \cdot 2 \cdot 1 \cdot 6 +1) J
$$
Hence,
$$ \alpha_o = 3 \cdot 2 \cdot 1 \cdot 6 + 1 =37$$