x and y intercepts of a function