When we complete the square, we replace all z-terms in the second-degree expression with a quadratic term which contains z, according to the formula
In our case, we set a=3i in order to complete the square,