\[\frac{58^{2} - 22^{2}}{49^{2} - 31^{2}} = \frac{(58 - 22)(58 + 22)}{(49 - 31)(49 + 31)} =\]
\[= \frac{36 \cdot 80}{18 \cdot 80} = 2.\]