Write the following in the form x+a2+b

Question 1:

x2+5x5
x+522454

Question 2:

x2+2x6
x+127

Question 3:

x2+10x2
x+5227

Question 4:

x22x+2
x12+1

Question 5:

x24x+8
x22+4

Question 6:

x214x6
x7255