Finding Quadratic Equation