\[ y'(x) \left (\frac {\text {e1} (a+x)}{\left ((a+x)^2+y(x)^2\right )^{3/2}}+\frac {\text {e2} (x-a)}{\left ((x-a)^2+y(x)^2\right )^{3/2}}\right )-y(x) \left (\frac {\text {e1}}{\left ((a+x)^2+y(x)^2\right )^{3/2}}+\frac {\text {e2}}{\left ((x-a)^2+y(x)^2\right )^{3/2}}\right )=0 \] ✗ Mathematica : cpu = 298.903 (sec), leaf count = 0 , could not solve
DSolve[-(y[x]*(e2/((-a + x)^2 + y[x]^2)^(3/2) + e1/((a + x)^2 + y[x]^2)^(3/2))) + ((e2*(-a + x))/((-a + x)^2 + y[x]^2)^(3/2) + (e1*(a + x))/((a + x)^2 + y[x]^2)^(3/2))*Derivative[1][y][x] == 0, y[x], x]
✗ Maple : cpu = 0. (sec), leaf count = 0 , exception
Maple was unable to allocate enough memory to complete this computation. Please see ?alloc