How to know the x-intercept in coordinate plane?