Take a look at the equation:

In order to move the to the other side you have to add it, not divide it:

This isn't something you can separate.... However, if you take what is on the right hand side of the original equation and divide ALL of it throughout on both sides, you will get something interesting:

Now, by the property of the differential you get:

This is what you need to integrate.