
The coefficient next to the x-variable is b = -10. To complete the square, first, we need to compute the next term:

Adding and subtracting 25 to the first equation:
![\begin{gathered} x^2-10x-2+25-25=17 \\ (x^2-10x+25)-2-25=17 \\ (x-5)^2-27=17 \\ (x-5)^2-27+27=17+27 \\ (x-5)^2=44 \\ \sqrt[]{\mleft(x-5\mright)^2}=\sqrt[]{44} \\ x-5=\sqrt[]{44} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/dkvubecys77ff6byp1hlq57qhmbo068qwv.png)
The square root of 44 has two different solutions, one positive and one negative. This lead to two different solutions for x:
![\begin{gathered} x_1-5=\sqrt[]{44} \\ x_1-5+5=\sqrt[]{44}+5 \\ x_1=5+\sqrt[]{44} \\ And \\ x_2-5=-\sqrt[]{44} \\ x_2-5+5=-\sqrt[]{44}+5 \\ x_2=5-\sqrt[]{44} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/x55rzq2o1hgrt7qp81i9z12dktb5s60irl.png)