From the problem :
We need to have a perfect square trinomial, rewriting the equation :
We will add a term c to both sides of the equation.
Factor out 2 so that the coefficient of x^2 will be 1
The term c/2 will be equal to the value of half the middle term and squared.
So this will be :