OK, this is quite helpful, thanks.
I know that V is nonzero from the information given in the question.
Also, \left( \frac{X'(x)}{X(x)} \right)' cannot be zero since this implies that X(x) is given by an exponential function, which gives, after applying the boundary conditions, a trivial...