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