You're completing the square rather than factoring. Factoring is finding out which values of and satisfy the equation
Your syntax is confusing, I have assumed the constant term is positive (+8) because that factors.
What two numbers multiply to give +8 and sum to +6