A1+d+a1+4d+a1+9d=37⇒3a1+14d=37⇒a1=37/3-14d/3
(a1+5d)(a1+8d)=247
(37/3-14d/3+5d)(37/3-14d/3+8d)=247
(37/3+d/3)(37/3+10d/3)=247
(37+d)(37+10d)=247*9
1369+407d+10d²-2223=0
10d²+407d-854=0
D=165649+34160=199809
d1=(-407-447)/20=-42,7⇒a1=(370+5978)/30=211,6
d2=(-407+447)/20=2⇒a1=37/3-28/3=9/3=3