im having problem integrating the equation
I'm assuming they should be dy/dx=y^2/x^2
and dy/dx=3*y^2/x .
Your differential equations textbook should discuss "separation of variables" near the very beginning.
This can be rewritten in this way:
y'=y^2/x^2 with x different from zero.
using chain rule:
Separate names with a comma.