find the value of c that completes the square

x^2-6x+c

please help me with the math problem and show me how to do these kinds.

Thank you.