Write the following in the form x+a2+b

Question 1:

x2+10x8
x+5233

Question 2:

x2+4x+2
x+222

Question 3:

x2+10x1
x+5226

Question 4:

x26x+2
x327

Question 5:

x2+12x4
x+6240

Question 6:

x2+10x5
x+5230