Write the following in the form x+a2+b

Question 1:

x2+12x10
x+6246

Question 2:

x2+2x5
x+126

Question 3:

x2+12x+4
x+6232

Question 4:

x2+8x+2
x+4214

Question 5:

x210x+4
x5221

Question 6:

x210x10
x5235