take 1/2 of linear coefient and square it
18 is linear coefient so 18/2=9, 9^2=81
add that to both sides
factor perfect square trionomial
there, completed the square
if you want to solvesquare root both sides, don't forget positive and negative roots

and