DSolve[Sqrt[1 + x^2] + a*y[x] + (a*x + Sqrt[1 + y[x]^2])*Derivative[1][y][x] == 0,y[x],x]