Finding intercepts of a nonlinear function given its graph