Formation of Quadratic Equation from Roots