you can separate the variables to get:
Now take the integral for each side. To do so, substitute for the quantity in the denominator. So for the right side, that'd be , which would mean so that the right side integral evaluates to:
Doing the same for the left gets you .
Settitng these equal to each other and solving for y leads to
I hope that was done in enough detail. Now try the second one. The key was to try to separate the variables first.