Consider the rightmost diagram,
Apply the Pythagoras Theorem in right triangle ADB,
This is the first equation.
Now, apply Pythagoras Theorem in right triangle BDC,
Now, apply Pythagoras Theorem in right triangle ABC,
This is the second equation.
Adding the two equations,
Substitute the value in first equation,
Thus, the required values of 'y' and 'z' are 14.83 and 9.95 units, approximately.