\[ y'(x)-\frac {\sqrt {\left | (1-y(x)) y(x) (1-a y(x))\right | }}{\sqrt {\left | (1-x) x (1-a x)\right | }}=0 \] ✗ Mathematica : cpu = 300.001 (sec), leaf count = 0 , timed out
$Aborted
✓ Maple : cpu = 0.126 (sec), leaf count = 40
\[ \left \{ \int \!{\frac {1}{\sqrt { \left | x \left ( x-1 \right ) \left ( ax-1 \right ) \right | }}}\,{\rm d}x-\int ^{y \left ( x \right ) }\!{\frac {1}{\sqrt { \left | {\it \_a}\, \left ( {\it \_a}-1 \right ) \left ( {\it \_a}\,a-1 \right ) \right | }}}{d{\it \_a}}+{\it \_C1}=0 \right \} \]