Determining x-intercepts of the quadratic function