Elena is writing an explanation on completing the square for circle equations for Diego because he missed class. Here is what Elena wrote:
“Suppose we want to rewrite an equation in the form \((x-h)^2+(y-k)^2=r^2\). First, move any numbers to the right side and group terms with the same variables together on the left. Second, figure out what must be added to the set of \(x\)-terms and the set of \(y\)-terms to create 2 perfect square trinomials. Add those numbers to both the left and right sides of the equation. Next, rewrite the perfect square trinomials as squared binomials, and rewrite the right side in the form \(r^2\). The center and radius can now be read directly from the equation.”
Diego is unsure how to determine what needs to be added in order to get 2 perfect square trinomials. Explain how to determine the values.