factoring
p
2
+ 14p + 49 = (p + 7)(p + 7) = (p + 7)
2
return