Composing gives f(f(x))=c(a+d)x+(bc+d2)(a2+bc)x+b(a+d). Requiring this to equal x for infinitely many x means c(a+d)x2+(d2−a2)x−b(a+d)=0 identically, so c(a+d)=0, b(a+d)=0, and a2=d2. If a+d=0, then b=c=0 and a=d, so f(x)=x, contradicting f(1)=3. Hence d=−a.
If c=0, then f(x)=−x−ab is of the form k−x; f(1)=3 forces f(x)=4−x, but then f(2)=2=4. So c=0, and we may scale to c=1: f(x)=x−aax+b. Now f(1)=3 gives a+b=3(1−a), i.e., b=3−4a, and f(2)=4 gives 2a+b=4(2−a). Substituting, 3−2a=8−4a, so a=25 and b=−7. Thus f(x)=2x−55x−14 (check: f(1)=−3−9=3, f(2)=−1−4=4), and f(0)=514.
(The distractor 4 comes from the linear involution 4−x, which satisfies f(1)=3 but not f(2)=4.)