given the two points [a, f(a)], [b,f(b)], the linear lagrange polynomial