how to find the equation of a polynomial