As your question is stated, there is no answer!
I'm going to assume the polynomial you meant is:

To create a perfect square trinomial, take half the coefficient of x and then square it.

In all problems like this, you want to square half the coefficient of x -- always half.