Step 1: Recall what the graph's slope means.
On a stress versus strain plot, Young's modulus is the tangent of the angle the line makes with the strain axis, $Y=\tan\theta$.
Step 2: Read the two angles from similar right triangles.
Material A's line sits at $45^\circ$, so for every unit along the strain axis it rises by an equal unit, giving $\tan45^\circ = 1$. Material B's line sits at $30^\circ$, a shallower rise of $\frac{1}{\sqrt{3}}$ per unit strain.
Step 3: Compare the two moduli as a ratio. \[ \frac{Y_A}{Y_B} = \frac{\tan45^\circ}{\tan30^\circ} = \frac{1}{1/\sqrt{3}} = \sqrt{3} \]
\[ \boxed{Y_A = \sqrt{3}\,Y_B} \]