Finding the x-intercept of a linear function