Finding the x-intercept(s) and the vertex of a parabola