Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I'm afraid it is not enough to explain what I'm missing. General solution of this type of differential equation is showed on link. What happened to exponential function outside integral?