hmmm so the equation is
so the integrating factor is
Multiplying the ODE by this gives
Using the product rule backwards gives
You can check by taking the derivative that this satisfies the ODE.
P.S the error function
I don't know what maple is giving you a complex part of the erf function.