Polynomial of Best Fit

n = 4 (slider from 1 to 6, step 1)
A = (-22.224378333491416, 3.877141550500478)
B = (-7.916195208273168, 11.02210908313705)
C = (0.2152018478361069, 2.5914634941672956)
D = (16.049836385747003, -3.6410077693499683)
E = (29.29776609356027, -4.893689131553513)
F = (2.5447135088917414, 0.9087009984828567)
G = (3, 0)
f = FitPoly({A, B}, n)
g = FitPoly({A, B, C}, n)
h = FitPoly({A, B, C, D}, n)
p = FitPoly({A, B, C, D, E}, n)
q = FitPoly({A, B, C, D, E, F}, n)
w = FitPoly({A, B, C, D, E, F, G}, n)