How do I find the values of x, y, and z?

Given:
The right triangles are given.
To find: The value of x, y, and z
Explanation:
We know that,
The altitude drawn to the hypotenuse of a right triangle creates two similar right triangles, each similar to the original right triangle and similar to each other.
Furthermore, the triangles are similar to each other by AA similarity.
From the small two right triangles,
We can write it as,
[tex]\frac{x}{\frac{1}{6}}=\frac{\frac{1}{3}}{x}=\frac{z}{y}[/tex]Solving the first two terms,
[tex]\begin{gathered} \frac{x}{\frac{1}{6}}=\frac{\frac{1}{3}}{x} \\ x^2=\frac{1}{3}\times\frac{1}{6} \\ x^2=\frac{1}{18} \\ x=\frac{1}{3\sqrt{2}} \end{gathered}[/tex]Then using the Pythagoras theorem,
[tex]\begin{gathered} Hyp^2=Opp^2+Adj^2 \\ y^2=x^2+\left(\frac{1}{6}\right?^2 \\ y^2=\left(\frac{1}{3\sqrt{2}}\right?^2+\left(\frac{1}{6}\right?^2 \\ y^2=\frac{1}{18}+\frac{1}{36} \\ y^2=\frac{2+1}{36} \\ y^2=\frac{3}{36} \\ y^2=\frac{1}{12} \\ y=\frac{1}{2\sqrt{3}} \end{gathered}[/tex]Again using the Pythagoras theorem,
[tex]\begin{gathered} z^2=x^2+\left(\frac{1}{3}\right)^2 \\ z^2=\left(\frac{1}{3\sqrt{2}}\right)^2+\left(\frac{1}{3}\right?^2 \\ z^2=\frac{1}{18}+\frac{1}{9} \\ z^2=\frac{1+2}{18} \\ z^2=\frac{1}{6} \\ z=\frac{1}{\sqrt{6}} \end{gathered}[/tex]Final answer: The values are,
[tex]\begin{gathered} x=\frac{1}{3\sqrt{2}} \\ y=\frac{1}{2\sqrt{3}} \\ z=\frac{1}{\sqrt{6}} \end{gathered}[/tex]