I have a problem in which I'm supposed to solve for the length of the two sides of the triangle below. I assumed that it would simply boil down to $x+5=\sqrt{4x+52}$, and converted to standard form, $-3x^2+(25-52^2)=0$, but that gives me a weird answer (the answer should be a whole number). How would I solve this?

Since this is an isosceles triangle, we have $$x+5=\sqrt{4x+52}=2\sqrt{x+13}.$$ Squaring both sides yields $$x^2+10x+25=4x+52.$$ Moving everything over to one side, we have $$x^2+6x-27=0.$$ We can factor the left-hand side to get $$(x+9)(x-3)=0,$$ so the only possible solutions are $x=-9$ or $x=3$. Since we have lengths, the solution must be $x=3$.