X^2-5x=a; a^2-2a-24=0; D=(-2)^2-4*1*(-24)=4+96=100; a1=(2-10)/2, a2=(2+10)/2. a1= -4, a2=6. x^2-5x= -4; x^2-5x+4=0; D=25-4*4=9; x1=(5-3)/2, x2=(5+3)/2. x1=1, x2=4. x^2-5x=6; x^2-5x-6=0; D=25-4*(-6)=49; x3=(5-7)/2, x4=(5+7)/2. x3= -1, x4=6. Ответ: x1=1, x2=4, x3= -1, x4=6.