Step 1:
Let the number of ribose units be \( x \), 2-deoxyribose units be \( y \), and glucose units be \( z \).
Total units:
\[
x + y + z = 8
\]
Step 2:
Total molar mass:
\[
150x + 134y + 180z = 1024
\]
Step 3:
Given 2-deoxyribose is 58.26% by weight of total monosaccharides:
\[
\frac{134y}{150x + 134y + 180z} = 0.5826
\]
Multiply both sides by denominator:
\[
134y = 0.5826 (150x + 134y + 180z)
\]
\[
134y = 87.39x + 78.1y + 104.87z
\]
Rearranged:
\[
134y - 78.1y = 87.39x + 104.87z
\]
\[
55.9 y = 87.39 x + 104.87 z
\]
Since \( z = 8 - x - y \), substitute:
\[
55.9 y = 87.39 x + 104.87 (8 - x - y)
\]
\[
55.9 y = 87.39 x + 839 - 104.87 x - 104.87 y
\]
\[
55.9 y + 104.87 y = 87.39 x - 104.87 x + 839
\]
\[
160.77 y = -17.48 x + 839
\]
Rewrite:
\[
160.77 y + 17.48 x = 839
\]
Step 4:
Try integer values of \( y \) and solve for \( x \):
For \( y = 5 \),
\[
160.77 \times 5 + 17.48 x = 839
\]
\[
803.85 + 17.48 x = 839 \implies 17.48 x = 35.15 \implies x = 2.01 \approx 2
\]
Therefore,
\[
x = 2, \quad y = 5, \quad z = 8 - 2 - 5 = 1
\]
Step 5:
Number of ribose units \( x = 2 \).