Polynomial working with 1st and 2nd degree polys. Working on n-th degree.