The general solution of the differential equation is
It is given that
Integrating both sides, we get,
log|x| - log|y| = log k
⇒
⇒ y = Cx where C =