x and y intercepts of polynomial function