Ok so I got the answer x=6.9 and its rounded to the nearest tenth

Answer:
Using the Similar Right Triangle theorem:
[tex]\mathsf{\dfrac{segment \ 1}{altitude}=\dfrac{altitude}{segment \ 2}}[/tex]
Given:
[tex]\implies \dfrac{6}{x}=\dfrac{x}{8}[/tex]
[tex]\implies 48=x^2[/tex]
[tex]\implies x=\sqrt{48}[/tex]
[tex]\implies x=\sqrt{16 \cdot 3}[/tex]
[tex]\implies x=\sqrt{16} \sqrt{3}[/tex]
[tex]\implies x=4\sqrt{3}[/tex]
[tex]\implies x=6.9 \textsf{ (nearest tenth)}[/tex]