Write the following in the form x+a2+b

Question 1:

x212x+4
x6232

Question 2:

x216x1
x8265

Question 3:

x28x1
x4217

Question 4:

x216x6
x8270

Question 5:

x2+10x+2
x+5223

Question 6:

x2+2x+10
x+12+9