solve $$ \sqrt{5x+19} = \sqrt{x+7} + 2\sqrt{x-5} $$
$$ \sqrt{5x+19} = \sqrt{x+7} + 2\sqrt{x-5} \Rightarrow $$ $$ 5x+19 = (x+7) + 4\sqrt{x-5}\sqrt{x+7} + (x+5) \Rightarrow $$ $$ 3x + 17 = 4\sqrt{x-5}\sqrt{x+7} \Rightarrow $$ $$ 9x^2 + 102x + 289 = 16(x+7)(x-5) \Rightarrow $$ $$ 9x^2 + 102x + 289 = 16(x^2+ 2x - 35) \Rightarrow $$ $$ 7x^2 - 70x - 849 = 0 \Rightarrow $$ $$ b^2 - 4ac = (-70)^2 - 4 \cdot 7 \cdot (-849) = 28672=2^{12}\cdot7 $$
then I calculate the solution using the discriminant as $$ 5 + 32\frac{\sqrt7}7 $$ and $$ 5 - 32\frac{\sqrt7}7 $$
but when I plug in the values I find out that they are wrong, does it have to do with the fact that I square the equation twice? if so what is the best way to go about solving this equation?