In order to calculate the length of YZ, we can use the tangent relation of the angle Z, since the triangle is a right triangle (Y = 90):
The tangent relation is equal to the length of the opposite leg to the angle over the length of the adjacent leg to the angle: