I am in a class on differential equations and do not understand how to solve Bernoulli equations. Here is the problem I have been working on:

y' = ry - k(y^2) , r>0 , k>0

So far I have divided both sides by y^2, and rearranged the equation so that it looks like this:

(y')/(y^2) = (ry)/(y^2) - k(y^2)/(y^2)

(y')/(y^2) = (ry)/(y^2) - k

y'(y^-2) = r(y^-1) - k

y'(y^-2) - r(y^-1) = -k

Could some please help? I have a test tomorrow and I am completely stuck.