A-REI.B.4.a. Use the method of completing the square to transform any quadratic equation in $x$ into an equation of the form $(x - p)^2 = q$ that has the same solutions. Derive the quadratic formula from this form.

A-REI.B.4.b. Solve quadratic equations by inspection (e.g., for $x^2 = 49$), taking square roots, completing the square, the quadratic formula and factoring, as appropriate to the initial form of the equation. Recognize when the quadratic formula gives complex solutions and write them as $a \pm bi$ for real numbers $a$ and $b$.