there doesn't seem to be a p and a q, but i will take a stab in the dark you mean thisOriginally Posted byConstance

we will complete the square for x²+14x

x² + 14x + 49 (you halve the 14 = 7 and then square the result = 49)

then to balance the addition of 49 you need to subtract 49 as well

x² + 14x + 49 - 49

factoring:

(x + 7)² - 49

hope that is what you are after