Probably there is a smart (but ad hoc) way of doing this problem, but you can solve it quite easily by using standard techniques from variational calculus.
In order to find the function \( g \) minimizing the expression
\( \displaystyle \int^{\frac{3}{2}}_{0}\left(4g(x)+125\frac{1}{\sqrt{g(x)+x^2}}\right)dx \),
where, in the variational calculus terminology, the Lagrangian functional of the minimization problem is
\( L(x,g(x)):= 4g(x)+125\frac{1}{\sqrt{g(x)+x^2}} \),
variational calculus tells us we must find the function \( g \) satisfying the Euler-Lagrange equation, which in our case is just:
\( 0=\frac{\partial L}{\partial g} = 4-\frac{125}{2(g(x)+x^2)^{3/2}} \)
So, solving for \( g \), we find:
\( g(x)=\left(\frac{125}{8}\right)^{2/3}-x^2 \)
For this \( g \) the value of the integral is easily computed and gives exactly \( 108 \). Since this function satisfies the requirements (it is positive in \( [0,3/2] \)), there is at least one solution.
By analyzing the second variation of \( L \) we can show that the function \( g \) we have found is indeed a minimum and moreover it's the only one. This shows that there's only one solution to the given equation.