\[ y'(x) \left (a x+A x^2+b y(x)+B x y(x)+c\right )+A x y(x)+\alpha x-B y(x)^2+\beta y(x)+\gamma =0 \] ✗ Mathematica : cpu = 300.652 (sec), leaf count = 0 , timed out
$Aborted
✗ Maple : cpu = 0. (sec), leaf count = 0 , could not solve
dsolve((B*x*y(x)+A*x^2+a*x+b*y(x)+c)*diff(y(x),x)-B*g(x)^2+A*x*y(x)+alpha*x+beta*y(x)+gamma = 0,y(x))