you should be removing the u primes from the equation and setting them equal to zero, and taking the derivative of whatever is left.

Afterwards you use the u primes as your system of equations, a bunch of stuff should cancel, if not you did something wrong.

you should be able to solve for all the primes individually as a system of equations or using the wronskian, although depending the wronskian can be much simpler.