For the first equation, we can complete the square to find its vertex form. Here's how we do it:
0 = x^2 - 18x + 1
0 = (x - 9)^2 - 80
So we have (x - 9)^2 = 80. This is in the form (x - p)^2 = q, where p = 9 and q = 80.
For the second equation, we can complete the square in a similar way:
x^2 + 26x + 167.5 = 0
x^2 + 26x = -167.5
x^2 + 26x + (26/2)^2 = -167.5 + (26/2)^2
(x + 13)^2 = 9.25
So we have (x + 13)^2 = 9.25. This is in the form (x - p)^2 = q, where p = -13 and q = 9.25.
I hope that helps!