so if in ax^2+bx+c form then
for the completing the square
(b/2)^2=c so
if b=6 then
b/2=6/2=3
(b/2)^2=(6/2)^2=(3)^2=9
so c=9
x^2+6x=7
add 9 to both sides
x^2+6x+9=16
so factor and get
(x+3)^2=16
for fun solve
16=4^2
(x+3)^2=4^2 or -4
square root both sides
x+3=4 or -4
solve 2 equaitons
1. x+3=4
sutract 3 from both sides
x=-1
2. x+3=-4
subtract 3 from both sides
x=-7
x=-1 or -7
solution set=S=x=-1,-7
answer is x^2+6x+9=16