Since triangles \( \triangle XYZ \) and \( \triangle AYB \) are similar, we can set up a proportion based on their corresponding sides.
From the information given, we have:
- \( XY = 24 \) yards
- \( YZ = 30 \) yards
- \( YA = 8 \) yards
We need to find the length of \( YB \).
Using the property of similar triangles, the ratios of corresponding sides will be equal:
\[ \frac{YA}{XY} = \frac{YB}{YZ} \]
Substituting the known values:
\[ \frac{8}{24} = \frac{YB}{30} \]
Now, simplify the left side:
\[ \frac{1}{3} = \frac{YB}{30} \]
Cross-multiply to solve for \( YB \):
\[ 1 \cdot 30 = 3 \cdot YB \]
So,
\[ 30 = 3YB \implies YB = \frac{30}{3} = 10 \text{ yards} \]
Thus, the length of \( YB \) is 10 yards.