Write the following in the form x+a2+b

Question 1:

x2+10x+6
x+52−19

Question 2:

x2+6x−8
x+32−17

Question 3:

x2−8x+9
x−42−7

Question 4:

x2−6x+10
x−32+1

Question 5:

x2−2x+2
x−12+1

Question 6:

x2+12x+9
x+62−27