I need help with a last question I have for my homework and it’s solving by square roots and it’s using quadratic equation

Given the following quadratic equation:
[tex]2(x+5)^2-3=49[/tex]We will solve the equation as follows:
First, add 3 to both sides
[tex]\begin{gathered} 2(x+5)^2-3+3=49+3 \\ 2(x+5)^2=52 \end{gathered}[/tex]Second, divide both sides by 2
[tex]\begin{gathered} \frac{2(x+5)^2}{2}=\frac{52}{2} \\ \\ (x+5)^2=26 \end{gathered}[/tex]Third, find the square root of both sides:
[tex]\begin{gathered} \sqrt{(x+5)^2}=\pm\sqrt{26} \\ x+5=\pm\sqrt{26} \end{gathered}[/tex]Finally, subtract (5) from both sides
[tex]\begin{gathered} x+5-5=-5\pm\sqrt{26} \\ x=-5\pm\sqrt{26} \end{gathered}[/tex]So, the answer will be:
[tex]x=\lbrace-5+\sqrt{26},-5-\sqrt{26}\rbrace[/tex]