Transforming Quadratic Equations