determine the x and y intercept of a rational function