hi there i havent used differential equations for a while now and i have come across a problem which includes:

dN2/dt=B*p(w)(N1-N2)-(1/h)*N2

i tried the seperable method but failed then i put it in wolfram alpha and got a solution and i dont know how wolfram alpha solved it please help