Let . This should reduce it to a 1st order ODE of the form:

Which can be written:

You can solve this for using an integrating factor! Giving a solution of the form:

Then remember that:

Also, can I ask why you used instead of if it's an ODE? is reserved for PDEs, or Partial Differential Equations... ie... Differential Equations of functions of more than 1 variable.