How does this work?????

Answer:
x = 4[tex]\sqrt{5}[/tex]
Step-by-step explanation:
Since the triangle is right, solve for x using Pythagoras' identity, that is
x² = 8² + 4² = 64 + 16 = 80
Take the square root of both sides
x = [tex]\sqrt{80}[/tex] = [tex]\sqrt{16(5)}[/tex] = [tex]\sqrt{16}[/tex] × [tex]\sqrt{5}[/tex] = 4[tex]\sqrt{5}[/tex] ← exact value