Given ax<sup>2</sup> + bx + c = 0, the completing-the-square process is, step-by-step, as follows:
. . . . .Take the original equation:
. . . . .\(\displaystyle \large{ax^2\,+\,bx\,+\,c\,=\,0}\)
. . . . .Move the constant term to the other side:
. . . . .\(\displaystyle \large{ax^2\,+\,bx\,=\,-c}\)
. . . . .Factor out whatever is multiplied on the squared term:
. . . . .\(\displaystyle \large{a\left(x^2\,+\,\frac{b}{a}x\right)\,=\,-c}\)
. . . . .Take one-half of the coefficient of the linear term,
. . . . .square it, and add on both sides, taking account of
. . . . .anything you may have factored out:
. . . . .\(\displaystyle \large{\left(\frac{1}{2}\right)\,\left(\frac{b}{a}\right)\. =\, \frac{b}{2a}}\)
. . . . .\(\displaystyle \large{\left(\frac{b}{2a}\right)^2\, =\, \frac{b^2}{4a^2}}\)
. . . . .\(\displaystyle \large{a\left(x^2\,+\,\frac{b}{a}x\,+\,\frac{b}{4a^2}\right)\,=\,a\left(\frac{b}{4a^2}\right)\,-\,c \,=\,\frac{b}{4a}\,-\,c}\)
. . . . .Complete the square on the left-hand side:
. . . . .\(\displaystyle \large{a\left(x\,+\,\frac{b}{2a}\right)^2\,=\,\frac{b}{4a}\,-\,c}\)
. . . . .Divide through by whatever was factored out:
. . . . .\(\displaystyle \large{(x\,+\,\frac{b}{2a})^2\,=\,\frac{b}{4a^2}\,-\,\frac{c}{a}}\)
. . . . .Take the square root:
. . . . .\(\displaystyle \large{x\,+\,\frac{b}{2a}\,=\,\pm\,\sqrt{\frac{b}{4a^2}\,-\,\frac{c}{a}}}\)
. . . . .Move whatever is with the variable over onto the other side:
. . . . .\(\displaystyle \large{x\,= \,-\frac{b}{2a}\,\pm\,\sqrt{\frac{b}{4a^2}\,-\,\frac{c}{a}}}\)
So, for instance:
. . . . .\(\displaystyle \large{3x^2\, +\, 5x\, -\, 4\, =\, 0}\)
. . . . .\(\displaystyle \large{3x^2\,+\,5x\,=\,4}\)
. . . . .\(\displaystyle \large{3(x^2\,+\,\frac{5}{3}x)\,= \,4}\)
. . . . .\(\displaystyle \large{3(x^2\,+\,\frac{5}{3}x\,+\,\frac{25}{36})\, =\,4\,+\,3\left(\frac{25}{36}\right)\, =\,4\,+\,\frac{25}{12}\,=\,\frac{73}{12}}\)
. . . . .\(\displaystyle \large{3(x\,+\,\frac{5}{6})^2\,=\,\frac{73}{12}}\)
. . . . .\(\displaystyle \large{(x\,+\,\frac{5}{6})^2\,=\,\frac{73}{36}}\)
. . . . .\(\displaystyle \large{x\,+\,\frac{5}{6}\,= \,\pm\,\sqrt{\frac{73}{36}}}\)
. . . . .\(\displaystyle \large{x\,= \,-\frac{5}{6}\,\pm\,\sqrt{\frac{73}{36}}}\)
Simplify a bit, and you're done.
Your example works the same way.
Eliz.
Edit: Corrected typoes graciously pointed out by galactus. Thank you!