NEED HELP!! 15 POINTS!!!

A quadratic equation is shown below:

x^2+18x+76=0

Which of the following is the first correct step to write the above equation in the form (x-p)^2=q, where p and q are integers?

A) add 9 to both sides of the equation
B) add 5 to both sides of the equation
C) subtract 5 from both sides of the equation
D) subtract 9 from both sides of the equation