Finding the equation of a parabola