Why not use an integrating factor?

Where

Is the format.

Sorry, the above is what you would do to solve after substitution. You don't need to integrate BEFORE you substitute.

I'm fairly sure your of the latter equation should be , no?

If that's the case:

Divide through by

After that apply the following considerations:

Should help!