DSolve[d*y[x]^2 - b*y[x]*Derivative[1][y][x] + (c + b*x + a*y[x]^2)*Derivative[1][y][x]^2 == 0,y[x],x]