The binomial usually has an x2 term and an x term, so we
complete the square by adding a constant term. If the coefficient
of x2 is not 1, we divide the binomial by that coefficient first
(we can multiply the trinomial by it later). Then we divide the
coefficient of x by 2 and square that. That is the constant that we
need to add to get the perfect square trinomial. Then just multiply
that trinomial by the original coefficient of x2.