Since g(x) and h(x) are integrals of the same function , therefore ; g(x) – h(x) is constant. 'OR'
[g(x)+C] - [f(x)+D]=0 => g(x) - f(x) = D-C, Which is a constant of integeration.