Convert Equation To Quadratic Form