how to find the x intercept of polynomial function