In this problem, we have to complete the square for a quadratic equation.
Recall that a perfect square trinomial comes in the form:

Sometimes, we have to create that form by using the following method to complete the square:
1. Get the equation equal to

2. Divide the b-term and square it:

3. Add that new value to both sides of the equation:

It looks really confusing in this format, so let's follow our equation to get a better idea.
We are given:

Luckily, we already have it in the format required for Step 1. So we can complete Step 2 by identifying the b-value.

So, we have:

Finally for Step 3, we add that 9 to both sides to get:

The term tha tmust be added to the equation to make it into a perfect square is 9.