Where is the question? reply to my comment and i can help :)
In math Pythagorean Theorem is a fundamental relation in Euclidean geometry among the three sides of a right triangle.
5x=2x+24
5x-2x=24
3x=24
x=24/3
x=8
Now you can verify by putting 8 in the x :)
You can focus on the two sub-triangles ABC and ACD
We know that they are both right triangles, because we're given that AC and BD are perpendicular.
The sides AB and AD are the hypothenuses of these triangles, so we know their length through the pythagorean theorem:


But since we're given
, the expressions for AD and AB are actually the same expression. This proves that AD=AB, and thus that the triangle is isosceles.