Solve the differential equation

x^2dy+ (x-3xy + 1)=0