What is the value of x for these problems? Pls help I’m so desperate

Answer:
First Question x = [tex]17\sqrt{2}[/tex] Second Question x = 36
Step-by-step explanation:
First Question:
Since The triangle is isosceles, [tex]17^2 +17^2=x^2[/tex] (Pythagoras)
[tex]x=17\sqrt{2}[/tex]
Second Question
This is half an equilateral triangle, so [tex](\frac{1}{2}x)^2+(18\sqrt{3})^2=x^2[/tex]
[tex]\frac{3}{4}x^2=972[/tex]
[tex]x^2=1296[/tex]
[tex]x=36[/tex] (cannot be negative)