Question: How to find interger numbers a, b, c, d, e, f so that the equation x = (a x^2 + b x + c)/(d x^2 + e x + f) has three interger solutions?

I am trying to find the positive integer numbers a, b, c, d, e, f so that the function y =  (a x^2 + b x + c)/(d x^2 + e x + f) is increasing function and the equation  (a x^2 + b x + c)/(d x^2 + e x + f) = x has three integer solutions. I tried
restart;
ListTools[Categorize];
L := [];
for a to 10 do
for b to 10 do
for c to 10 do
for d to 10 do
for e to 10 do
for f to 10 do
if a*e-b*d > 0 and a^2*f^2-a*b*e*f-2*a*c*d*f+a*c*e^2+b^2*d*f-b*c*d*e+c^2*d^2 < 0 and igcd(a, b, c) = 1 and igcd(d, e, f) = 1 and igcd(a, b, c, d, e, f) = 1 and x = (a*x^2+b*x+c)/(d*x^2+e*x+f) then L := [op(L), [a, b, c, d, e, f, x]]

L:=[op(L), [a, b, c, d,e,f,x]]; fi; 
od: od: od: od:od:od: 
nops(L);  


I did not get the result. 
With Mathematica, I got like this picture (a, b, c, d, e, f, x1, x2, x3)

How can I get the correct results?

Please Wait...