Your working looks quite odd...

It is a first order linear DE, so you can solve it using an integrating factor.

.

The integrating factor is .

Multiply both sides of the equation by the integrating factor.

Notice that the left hand side is the product rule expansion of .

So

Solve this integral using integration by parts.

.

Let so that

Let so that .

Therefore

.