Solve for x square root of x+1 = square root of x-5