Find the X and Y intercept with a graph