express each of the following in the form (x+p)^2+q

1. x^2-20x+3

Since (x+p)²=x²+2px+p² we write

x²-20x+3
=(x-10)²-100+3
=(x-10)²-97

100 comes from p².
Expand to check my calculations.